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