21 references to RecipientInfoType
System.Security (21)
system\security\cryptography\pkcs\envelopedpkcs7.cs (5)
283case RecipientInfoType.KeyTransport: 298case RecipientInfoType.KeyAgreement: 395if ((PkcsUtils.GetRecipientInfoType(recipient.Certificate) == RecipientInfoType.KeyAgreement) || 528case RecipientInfoType.KeyTransport: 548case RecipientInfoType.KeyAgreement:
system\security\cryptography\pkcs\pkcsutils.cs (6)
54internal static RecipientInfoType GetRecipientInfoType (X509Certificate2 certificate) { 55RecipientInfoType recipientInfoType = RecipientInfoType.Unknown; 63recipientInfoType = RecipientInfoType.KeyTransport; 65recipientInfoType = RecipientInfoType.KeyAgreement; 67recipientInfoType = RecipientInfoType.Unknown;
system\security\cryptography\pkcs\recipientinfo.cs (10)
36private RecipientInfoType m_recipentInfoType; 46internal RecipientInfo (RecipientInfoType recipientInfoType, RecipientSubType recipientSubType, SafeLocalAllocHandle pCmsgRecipientInfo, Object cmsgRecipientInfo, uint index) { 47if (recipientInfoType < RecipientInfoType.Unknown || recipientInfoType > RecipientInfoType.KeyAgreement) 48recipientInfoType = RecipientInfoType.Unknown; 60public RecipientInfoType Type { 112internal unsafe KeyTransRecipientInfo (SafeLocalAllocHandle pRecipientInfo, CAPI.CERT_INFO certInfo, uint index) : base(RecipientInfoType.KeyTransport, RecipientSubType.Pkcs7KeyTransport, pRecipientInfo, certInfo, index) { 127internal KeyTransRecipientInfo (SafeLocalAllocHandle pRecipientInfo, CAPI.CMSG_KEY_TRANS_RECIPIENT_INFO keyTrans, uint index) : base(RecipientInfoType.KeyTransport, RecipientSubType.CmsKeyTransport, pRecipientInfo, keyTrans, index) { 220internal KeyAgreeRecipientInfo (SafeLocalAllocHandle pRecipientInfo, CAPI.CMSG_KEY_AGREE_CERT_ID_RECIPIENT_INFO certIdRecipient, uint index, uint subIndex) : base(RecipientInfoType.KeyAgreement, RecipientSubType.CertIdKeyAgreement, pRecipientInfo, certIdRecipient, index) { 229internal KeyAgreeRecipientInfo (SafeLocalAllocHandle pRecipientInfo, CAPI.CMSG_KEY_AGREE_PUBLIC_KEY_RECIPIENT_INFO publicKeyRecipient, uint index, uint subIndex) : base(RecipientInfoType.KeyAgreement, RecipientSubType.PublicKeyAgreement, pRecipientInfo, publicKeyRecipient, index) {