7 instantiations of CmsRecipient
System.Security.Cryptography.Pkcs (7)
Internal\Cryptography\PkcsHelpers.cs (2)
151recipientCopy = new CmsRecipient(recipient.RecipientIdentifierType, certCopy); 155recipientCopy = new CmsRecipient(recipient.RecipientIdentifierType, certCopy, recipient.RSAEncryptionPadding);
System\Security\Cryptography\Pkcs\CmsRecipient.cs (4)
89/// absent user keying material. To omit the field, use <see cref="CmsRecipient(X509Certificate2)"/>. 94new CmsRecipient(SubjectIdentifierType.IssuerAndSerialNumber, certificate, userKeyingMaterial); 109/// <see cref="CmsRecipient(SubjectIdentifierType, X509Certificate2)"/>. 115new CmsRecipient(recipientIdentifierType, certificate, userKeyingMaterial);
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
33_recipients.Add(new CmsRecipient(recipientIdentifierType, certificates[index]));
26 references to CmsRecipient
System.Security (1)
System.Security.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.CmsRecipient))]
System.Security.Cryptography.Pkcs (25)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
109CmsRecipient recipient = recipients[i];
Internal\Cryptography\Pal\AnyOS\ManagedPal.Kem.cs (2)
20private static RecipientInfoAsn MakeKemRecipientInfo(byte[] cek, CmsRecipient recipient) 36private static KemRecipientInfoAsn MakeKemri(byte[] cek, CmsRecipient recipient)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
110CmsRecipient recipient,
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (4)
215private static CMSG_RECIPIENT_ENCODE_INFO EncodeRecipientInfo(CmsRecipient recipient, AlgorithmIdentifier contentEncryptionAlgorithm, HeapBlockRetainer hb) 246private static unsafe CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO* EncodeKeyTransRecipientInfo(CmsRecipient recipient, HeapBlockRetainer hb) 334private static unsafe CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO* EncodeKeyAgreeRecipientInfo(CmsRecipient recipient, AlgorithmIdentifier contentEncryptionAlgorithm, HeapBlockRetainer hb) 396private static unsafe CERT_ID EncodeRecipientId(CmsRecipient recipient, SafeCertContextHandle hCertContext, CERT_CONTEXT* pCertContext, CERT_INFO* pCertInfo, HeapBlockRetainer hb)
Internal\Cryptography\PkcsHelpers.cs (4)
133foreach (CmsRecipient recipient in recipients) 137CmsRecipient recipientCopy; 142recipientCopy = CmsRecipient.CreateForKeyEncapsulation( 164internal static RecipientIdentifierAsn MakeRecipientIdentifier(CmsRecipient recipient)
System\Security\Cryptography\Pkcs\CmsRecipient.cs (2)
91public static CmsRecipient CreateForKeyEncapsulation( 111public static CmsRecipient CreateForKeyEncapsulation(
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (9)
16_recipients = new List<CmsRecipient>(); 19public CmsRecipientCollection(CmsRecipient recipient) 21_recipients = new List<CmsRecipient>(1); 30_recipients = new List<CmsRecipient>(certificates.Count); 37public CmsRecipient this[int index] 56public int Add(CmsRecipient recipient) 65public void Remove(CmsRecipient recipient) 100public void CopyTo(CmsRecipient[] array, int index) 128private readonly List<CmsRecipient> _recipients;
System\Security\Cryptography\Pkcs\CmsRecipientEnumerator.cs (1)
18public CmsRecipient Current
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (1)
85public void Encrypt(CmsRecipient recipient)