69 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 (68)
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)
36
CmsRecipient(
SubjectIdentifierType
recipientIdentifierType, X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding)
45
public CmsRecipient(
SubjectIdentifierType
recipientIdentifierType, X509Certificate2 certificate)
51
case
SubjectIdentifierType
.Unknown:
52
recipientIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
54
case
SubjectIdentifierType
.IssuerAndSerialNumber:
56
case
SubjectIdentifierType
.SubjectKeyIdentifier:
72
public
SubjectIdentifierType
RecipientIdentifierType { get; }
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
25
public CmsRecipientCollection(
SubjectIdentifierType
recipientIdentifierType, X509Certificate2Collection certificates)
System\Security\Cryptography\Pkcs\CmsSigner.cs (24)
21
private
SubjectIdentifierType
_signerIdentifierType;
67
public
SubjectIdentifierType
SignerIdentifierType
72
if (value <
SubjectIdentifierType
.IssuerAndSerialNumber || value >
SubjectIdentifierType
.NoSignature)
79
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, null)
83
public CmsSigner(
SubjectIdentifierType
signerIdentifierType)
89
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, certificate)
99
public CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate)
109
CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate, AsymmetricAlgorithm? privateKey)
121
CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate, SlhDsa? privateKey)
149
SubjectIdentifierType
signerIdentifierType,
158
SubjectIdentifierType
signerIdentifierType,
171
case
SubjectIdentifierType
.Unknown:
172
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
175
case
SubjectIdentifierType
.IssuerAndSerialNumber:
179
case
SubjectIdentifierType
.SubjectKeyIdentifier:
183
case
SubjectIdentifierType
.NoSignature:
188
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
204
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
331
case
SubjectIdentifierType
.IssuerAndSerialNumber:
343
case
SubjectIdentifierType
.SubjectKeyIdentifier:
347
case
SubjectIdentifierType
.NoSignature:
372
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
449
if (SignerIdentifierType !=
SubjectIdentifierType
.NoSignature)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
364
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)
58
case
SubjectIdentifierType
.NoSignature:
59
case
SubjectIdentifierType
.IssuerAndSerialNumber:
60
case
SubjectIdentifierType
.SubjectKeyIdentifier:
64
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
313
if (_hasData && signer.SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
322
if (signer.Certificate == null && signer.SignerIdentifierType !=
SubjectIdentifierType
.NoSignature)
653
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)
521
case
SubjectIdentifierType
.IssuerAndSerialNumber:
537
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: