12 references to HashSizeInBytes
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (1)
81
digestLengthInBytes = SHA1.
HashSizeInBytes
;
System\Security\Cryptography\CryptographicOperations.cs (1)
1067
return SHA1.
HashSizeInBytes
;
System\Security\Cryptography\SHA1.cs (1)
23
static int IHashStatic.HashSizeInBytes =>
HashSizeInBytes
;
System\Security\Cryptography\SHA1CryptoServiceProvider.cs (1)
29
Span<byte> destination = stackalloc byte[
HashSizeInBytes
];
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (5)
45
if (thumbprint.Length != SHA1.
HashSizeInBytes
)
50
Span<byte> hashBuffer = stackalloc byte[SHA1.
HashSizeInBytes
];
53
hashBytesWritten != SHA1.
HashSizeInBytes
)
295
certKeyId = stackalloc byte[SHA1.
HashSizeInBytes
];
298
Debug.Assert(written == SHA1.
HashSizeInBytes
);
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (3)
172
Span<byte> sha1 = stackalloc byte[SHA1.
HashSizeInBytes
];
174
Debug.Assert(written == SHA1.
HashSizeInBytes
);
180
byte[] shortSha1 = sha1.Slice(SHA1.
HashSizeInBytes
- 8).ToArray();