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