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;
74
public
SubjectIdentifierType
SignerIdentifierType
79
if (value <
SubjectIdentifierType
.IssuerAndSerialNumber || value >
SubjectIdentifierType
.NoSignature)
86
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, null)
90
public CmsSigner(
SubjectIdentifierType
signerIdentifierType)
96
: this(
SubjectIdentifierType
.IssuerAndSerialNumber, certificate)
106
public CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate)
116
CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate, AsymmetricAlgorithm? privateKey)
128
CmsSigner(
SubjectIdentifierType
signerIdentifierType, X509Certificate2? certificate, SlhDsa? privateKey)
156
SubjectIdentifierType
signerIdentifierType,
165
SubjectIdentifierType
signerIdentifierType,
178
case
SubjectIdentifierType
.Unknown:
179
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
182
case
SubjectIdentifierType
.IssuerAndSerialNumber:
186
case
SubjectIdentifierType
.SubjectKeyIdentifier:
190
case
SubjectIdentifierType
.NoSignature:
195
_signerIdentifierType =
SubjectIdentifierType
.IssuerAndSerialNumber;
211
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
338
case
SubjectIdentifierType
.IssuerAndSerialNumber:
350
case
SubjectIdentifierType
.SubjectKeyIdentifier:
354
case
SubjectIdentifierType
.NoSignature:
379
if (SignerIdentifierType ==
SubjectIdentifierType
.NoSignature)
456
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)
518
case
SubjectIdentifierType
.IssuerAndSerialNumber:
534
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: