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)
115
if (recipient.RecipientIdentifierType ==
SubjectIdentifierType
.SubjectKeyIdentifier)
120
else if (recipient.RecipientIdentifierType ==
SubjectIdentifierType
.IssuerAndSerialNumber)
Internal\Cryptography\PkcsHelpers.cs (3)
177
SubjectIdentifierType
recipientIdentifierType = recipientIdentifier.Type;
180
case
SubjectIdentifierType
.IssuerAndSerialNumber:
194
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)
21
private
SubjectIdentifierType
_signerIdentifierType;
60
public
SubjectIdentifierType
SignerIdentifierType
65
if (value <
SubjectIdentifierType
.IssuerAndSerialNumber || value >
SubjectIdentifierType
.NoSignature)
72
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, null)
76
public CmsSigner(
SubjectIdentifierType
signerIdentifierType)
82
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, certificate)
92
public CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate) : this(signerIdentifierType, certificate, null)
101
CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate, AsymmetricAlgorithm? privateKey)
129
SubjectIdentifierType
signerIdentifierType,
138
SubjectIdentifierType
signerIdentifierType,
151
case
SubjectIdentifierType
.Unknown:
152
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
155
case
SubjectIdentifierType
.IssuerAndSerialNumber:
159
case
SubjectIdentifierType
.SubjectKeyIdentifier:
163
case
SubjectIdentifierType
.NoSignature:
168
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
181
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
273
case
SubjectIdentifierType
.IssuerAndSerialNumber:
285
case
SubjectIdentifierType
.SubjectKeyIdentifier:
289
case
SubjectIdentifierType
.NoSignature:
314
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
350
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;
322
if (_hasData && signer.SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
331
if (signer.Certificate == null && signer.SignerIdentifierType !=
SubjectIdentifierType
.NoSignature)
666
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)
524
case
SubjectIdentifierType
.IssuerAndSerialNumber:
540
case
SubjectIdentifierType
.SubjectKeyIdentifier:
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (13)
21
internal SubjectIdentifier(
SubjectIdentifierType
type, object value)
27
case
SubjectIdentifierType
.IssuerAndSerialNumber:
31
case
SubjectIdentifierType
.SubjectKeyIdentifier:
75
Type =
SubjectIdentifierType
.NoSignature;
80
Type =
SubjectIdentifierType
.IssuerAndSerialNumber;
88
Type =
SubjectIdentifierType
.SubjectKeyIdentifier;
98
public
SubjectIdentifierType
Type { get; }
110
case
SubjectIdentifierType
.IssuerAndSerialNumber:
120
case
SubjectIdentifierType
.SubjectKeyIdentifier:
147
if (Type ==
SubjectIdentifierType
.IssuerAndSerialNumber)
154
case
SubjectIdentifierType
.IssuerAndSerialNumber:
161
case
SubjectIdentifierType
.SubjectKeyIdentifier:
163
case
SubjectIdentifierType
.NoSignature: