71 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 (70)
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) 36CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificate2 certificate, RSAEncryptionPadding rsaEncryptionPadding) 45public CmsRecipient(SubjectIdentifierType recipientIdentifierType, X509Certificate2 certificate) 51case SubjectIdentifierType.Unknown: 52recipientIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber; 54case SubjectIdentifierType.IssuerAndSerialNumber: 56case SubjectIdentifierType.SubjectKeyIdentifier: 72public SubjectIdentifierType RecipientIdentifierType { get; }
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
25public CmsRecipientCollection(SubjectIdentifierType recipientIdentifierType, X509Certificate2Collection certificates)
System\Security\Cryptography\Pkcs\CmsSigner.cs (26)
21private SubjectIdentifierType _signerIdentifierType; 67public SubjectIdentifierType SignerIdentifierType 72if (value < SubjectIdentifierType.IssuerAndSerialNumber || value > SubjectIdentifierType.NoSignature) 79: this(SubjectIdentifierType.IssuerAndSerialNumber, null) 83public CmsSigner(SubjectIdentifierType signerIdentifierType) 89: this(SubjectIdentifierType.IssuerAndSerialNumber, certificate) 99public CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate) 109CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate, AsymmetricAlgorithm? privateKey) 120CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate, MLDsa? privateKey) 131CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate, SlhDsa? privateKey) 142CmsSigner(SubjectIdentifierType signerIdentifierType, X509Certificate2? certificate, CompositeMLDsa? privateKey) 171SubjectIdentifierType signerIdentifierType, 180SubjectIdentifierType signerIdentifierType, 193case SubjectIdentifierType.Unknown: 194_signerIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber; 197case SubjectIdentifierType.IssuerAndSerialNumber: 201case SubjectIdentifierType.SubjectKeyIdentifier: 205case SubjectIdentifierType.NoSignature: 210_signerIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber; 226if (SignerIdentifierType == SubjectIdentifierType.NoSignature) 353case SubjectIdentifierType.IssuerAndSerialNumber: 365case SubjectIdentifierType.SubjectKeyIdentifier: 369case SubjectIdentifierType.NoSignature: 394if (SignerIdentifierType == SubjectIdentifierType.NoSignature) 443if (SignerIdentifierType != SubjectIdentifierType.NoSignature)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
364signer.SignerIdentifier.Type == SubjectIdentifierType.IssuerAndSerialNumber)
System\Security\Cryptography\Pkcs\SignedCms.cs (9)
22private readonly SubjectIdentifierType _signerIdentifierType; 44public SignedCms(SubjectIdentifierType signerIdentifierType, ContentInfo contentInfo, bool detached) 58case SubjectIdentifierType.NoSignature: 59case SubjectIdentifierType.IssuerAndSerialNumber: 60case SubjectIdentifierType.SubjectKeyIdentifier: 64_signerIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber; 313if (_hasData && signer.SignerIdentifierType == SubjectIdentifierType.NoSignature) 322if (signer.Certificate == null && signer.SignerIdentifierType != SubjectIdentifierType.NoSignature) 653if (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)
521case SubjectIdentifierType.IssuerAndSerialNumber: 537case 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: