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