68 references to SubjectIdentifierType
System.Security (1)
System.Security.cs (1)
35
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.
SubjectIdentifierType
))]
System.Security.Cryptography.Pkcs (67)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (2)
114
if (recipient.RecipientIdentifierType ==
SubjectIdentifierType
.SubjectKeyIdentifier)
119
else if (recipient.RecipientIdentifierType ==
SubjectIdentifierType
.IssuerAndSerialNumber)
Internal\Cryptography\PkcsHelpers.cs (3)
287
SubjectIdentifierType
recipientIdentifierType = recipientIdentifier.Type;
290
case
SubjectIdentifierType
.IssuerAndSerialNumber:
304
case
SubjectIdentifierType
.SubjectKeyIdentifier:
System\Security\Cryptography\Pkcs\CmsRecipient.cs (8)
13
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, certificate)
39
CmsRecipient(
SubjectIdentifierType
recipientIdentifierType, X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding)
51
public CmsRecipient(
SubjectIdentifierType
recipientIdentifierType, X509Certificate2 certificate)
60
case
SubjectIdentifierType
.Unknown:
61
recipientIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
63
case
SubjectIdentifierType
.IssuerAndSerialNumber:
65
case
SubjectIdentifierType
.SubjectKeyIdentifier:
81
public
SubjectIdentifierType
RecipientIdentifierType { get; }
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
25
public CmsRecipientCollection(
SubjectIdentifierType
recipientIdentifierType, X509Certificate2Collection certificates)
System\Security\Cryptography\Pkcs\CmsSigner.cs (23)
20
private
SubjectIdentifierType
_signerIdentifierType;
50
public
SubjectIdentifierType
SignerIdentifierType
55
if (value <
SubjectIdentifierType
.IssuerAndSerialNumber || value >
SubjectIdentifierType
.NoSignature)
62
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, null)
66
public CmsSigner(
SubjectIdentifierType
signerIdentifierType)
72
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, certificate)
82
public CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate) : this(signerIdentifierType, certificate, null)
86
public CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate, AsymmetricAlgorithm? privateKey)
109
SubjectIdentifierType
signerIdentifierType,
118
SubjectIdentifierType
signerIdentifierType,
131
case
SubjectIdentifierType
.Unknown:
132
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
135
case
SubjectIdentifierType
.IssuerAndSerialNumber:
139
case
SubjectIdentifierType
.SubjectKeyIdentifier:
143
case
SubjectIdentifierType
.NoSignature:
148
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
161
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
253
case
SubjectIdentifierType
.IssuerAndSerialNumber:
265
case
SubjectIdentifierType
.SubjectKeyIdentifier:
269
case
SubjectIdentifierType
.NoSignature:
294
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
330
if (SignerIdentifierType !=
SubjectIdentifierType
.NoSignature)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
370
signer.SignerIdentifier.Type ==
SubjectIdentifierType
.IssuerAndSerialNumber)
System\Security\Cryptography\Pkcs\SignedCms.cs (9)
22
private readonly
SubjectIdentifierType
_signerIdentifierType;
44
public SignedCms(
SubjectIdentifierType
signerIdentifierType, ContentInfo contentInfo, bool detached)
61
case
SubjectIdentifierType
.NoSignature:
62
case
SubjectIdentifierType
.IssuerAndSerialNumber:
63
case
SubjectIdentifierType
.SubjectKeyIdentifier:
67
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
317
if (_hasData && signer.SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
326
if (signer.Certificate == null && signer.SignerIdentifierType !=
SubjectIdentifierType
.NoSignature)
661
if (signer.SignerIdentifier.Type ==
SubjectIdentifierType
.NoSignature)
System\Security\Cryptography\Pkcs\SignedCms.CtorOverloads.cs (5)
14
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, MakeEmptyContentInfo(), false)
18
public SignedCms(
SubjectIdentifierType
signerIdentifierType)
24
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, contentInfo, false)
28
public SignedCms(
SubjectIdentifierType
signerIdentifierType, ContentInfo contentInfo)
34
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, contentInfo, detached)
System\Security\Cryptography\Pkcs\SignerInfo.cs (2)
506
case
SubjectIdentifierType
.IssuerAndSerialNumber:
522
case
SubjectIdentifierType
.SubjectKeyIdentifier:
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (13)
20
internal SubjectIdentifier(
SubjectIdentifierType
type, object value)
26
case
SubjectIdentifierType
.IssuerAndSerialNumber:
30
case
SubjectIdentifierType
.SubjectKeyIdentifier:
74
Type =
SubjectIdentifierType
.NoSignature;
79
Type =
SubjectIdentifierType
.IssuerAndSerialNumber;
87
Type =
SubjectIdentifierType
.SubjectKeyIdentifier;
97
public
SubjectIdentifierType
Type { get; }
104
case
SubjectIdentifierType
.IssuerAndSerialNumber:
114
case
SubjectIdentifierType
.SubjectKeyIdentifier:
141
if (Type ==
SubjectIdentifierType
.IssuerAndSerialNumber)
148
case
SubjectIdentifierType
.IssuerAndSerialNumber:
155
case
SubjectIdentifierType
.SubjectKeyIdentifier:
157
case
SubjectIdentifierType
.NoSignature: