4 instantiations of AlgorithmIdentifier
System.Security.Cryptography.Pkcs (4)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
151return new AlgorithmIdentifier(new Oid(asn.Algorithm), keyLength)
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (2)
245AlgorithmIdentifier algorithmId = new AlgorithmIdentifier(Oid.FromOidValue(oidValue, OidGroup.PublicKeyAlgorithm), keyLength); 325AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(Oid.FromOidValue(oidValue, OidGroup.All), keyLength);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (1)
24: this(contentInfo, new AlgorithmIdentifier(Oids.Aes256CbcOid.CopyOid()))
37 references to AlgorithmIdentifier
System.Security (1)
System.Security.cs (1)
8[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.AlgorithmIdentifier))]
System.Security.Cryptography.Pkcs (36)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
54internal static AlgorithmIdentifier ToPresentationObject(this AlgorithmIdentifierAsn asn)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
142private static SymmetricAlgorithm OpenAlgorithm(AlgorithmIdentifier algorithmIdentifier)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
23out AlgorithmIdentifier contentEncryptionAlgorithm,
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (3)
22AlgorithmIdentifier contentEncryptionAlgorithm, 57AlgorithmIdentifier contentEncryptionAlgorithm, 152AlgorithmIdentifier contentEncryptionAlgorithm,
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyAgree.cs (1)
27public override AlgorithmIdentifier KeyEncryptionAlgorithm =>
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
28public override AlgorithmIdentifier KeyEncryptionAlgorithm =>
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decode.cs (1)
23out AlgorithmIdentifier contentEncryptionAlgorithm,
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (3)
245AlgorithmIdentifier algorithmId = new AlgorithmIdentifier(Oid.FromOidValue(oidValue, OidGroup.PublicKeyAlgorithm), keyLength); 252public static AlgorithmIdentifier ToAlgorithmIdentifier(this CRYPT_ALGORITHM_IDENTIFIER cryptAlgorithmIdentifier) 325AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(Oid.FromOidValue(oidValue, OidGroup.All), keyLength);
Internal\Cryptography\Pal\Windows\KeyAgreeRecipientInfoPalWindows.cs (2)
55public sealed override AlgorithmIdentifier KeyEncryptionAlgorithm 61return WithCmsgCmsRecipientInfo<AlgorithmIdentifier>(
Internal\Cryptography\Pal\Windows\KeyTransRecipientInfoPalWindows.cs (2)
55public sealed override AlgorithmIdentifier KeyEncryptionAlgorithm 64AlgorithmIdentifier algorithmIdentifier = recipient->KeyEncryptionAlgorithm.ToAlgorithmIdentifier();
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (1)
24public sealed override DecryptorPal Decode(ReadOnlySpan<byte> encodedMessage, out int version, out ContentInfo contentInfo, out AlgorithmIdentifier contentEncryptionAlgorithm, out X509Certificate2Collection originatorCerts, out CryptographicAttributeObjectCollection unprotectedAttributes)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (6)
19public sealed override unsafe byte[] Encrypt(CmsRecipientCollection recipients, ContentInfo contentInfo, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes) 106public static SafeCryptMsgHandle CreateCryptMsgHandleToEncode(CmsRecipientCollection recipients, Oid innerContentType, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes) 136private static unsafe CMSG_ENVELOPED_ENCODE_INFO* CreateCmsEnvelopedEncodeInfo(CmsRecipientCollection recipients, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes, HeapBlockRetainer hb) 215private static CMSG_RECIPIENT_ENCODE_INFO EncodeRecipientInfo(CmsRecipient recipient, AlgorithmIdentifier contentEncryptionAlgorithm, HeapBlockRetainer hb) 334private static unsafe CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO* EncodeKeyAgreeRecipientInfo(CmsRecipient recipient, AlgorithmIdentifier contentEncryptionAlgorithm, HeapBlockRetainer hb) 433private static IntPtr GenerateEncryptionAuxInfoIfNeeded(AlgorithmIdentifier contentEncryptionAlgorithm, HeapBlockRetainer hb)
Internal\Cryptography\PkcsPal.cs (2)
27public abstract byte[] Encrypt(CmsRecipientCollection recipients, ContentInfo contentInfo, AlgorithmIdentifier contentEncryptionAlgorithm, X509Certificate2Collection originatorCerts, CryptographicAttributeObjectCollection unprotectedAttributes); 34public abstract DecryptorPal Decode(ReadOnlySpan<byte> encodedMessage, out int version, out ContentInfo contentInfo, out AlgorithmIdentifier contentEncryptionAlgorithm, out X509Certificate2Collection originatorCerts, out CryptographicAttributeObjectCollection unprotectedAttributes);
Internal\Cryptography\RecipientInfoPal.cs (1)
18public abstract AlgorithmIdentifier KeyEncryptionAlgorithm { get; }
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (3)
28public EnvelopedCms(ContentInfo contentInfo, AlgorithmIdentifier encryptionAlgorithm) 50public AlgorithmIdentifier ContentEncryptionAlgorithm { get; private set; } 154AlgorithmIdentifier contentEncryptionAlgorithm;
System\Security\Cryptography\Pkcs\KeyAgreeRecipientInfo.cs (2)
35public override AlgorithmIdentifier KeyEncryptionAlgorithm 89private AlgorithmIdentifier? _lazyKeyEncryptionAlgorithm;
System\Security\Cryptography\Pkcs\KeyTransRecipientInfo.cs (2)
34public override AlgorithmIdentifier KeyEncryptionAlgorithm 59private AlgorithmIdentifier? _lazyKeyEncryptionAlgorithm;
System\Security\Cryptography\Pkcs\PublicKeyInfo.cs (2)
11internal PublicKeyInfo(AlgorithmIdentifier algorithm, byte[] keyValue) 20public AlgorithmIdentifier Algorithm { get; }
System\Security\Cryptography\Pkcs\RecipientInfo.cs (1)
42public abstract AlgorithmIdentifier KeyEncryptionAlgorithm { get; }