3 types derived from CmsHash
System.Security.Cryptography.Pkcs (3)
System\Security\Cryptography\Pkcs\CmsHash.cs (3)
29private sealed class CmsShake256Hash : CmsHash 59private sealed class CmsShake128Hash : CmsHash 90private sealed class CmsIncrementalHash : CmsHash
11 references to CmsHash
System.Security.Cryptography.Pkcs (11)
System\Security\Cryptography\Pkcs\CmsHash.cs (1)
10internal static CmsHash Create(Oid oid, bool forVerification) =>
System\Security\Cryptography\Pkcs\CmsSigner.cs (4)
275using (CmsHash hasher = CmsHash.Create(DigestAlgorithm, forVerification: false)) 291using (CmsHash hasher = CmsHash.Create(DigestAlgorithm, forVerification: false))
System\Security\Cryptography\Pkcs\SignerInfo.cs (6)
597private CmsHash GetContentHash(ReadOnlyMemory<byte> content, ReadOnlyMemory<byte>? additionalContent) 599CmsHash hasher = CmsHash.Create(DigestAlgorithm, forVerification: true); 707using (CmsHash hasher = GetContentHash(content, additionalContent)) 747CmsHash hasher = state.hasher; 805using (CmsHash hasher = GetContentHash(content, additionalContent))