16 references to Instance
System.Security.Cryptography.Pkcs (16)
Internal\Cryptography\PkcsHelpers.cs (1)
310byte[] candidateSki = PkcsPal.Instance.GetSubjectKeyIdentifier(cert);
System\Security\Cryptography\Pkcs\CmsSignature.DSA.cs (1)
122PkcsPal.Instance.GetPrivateKeyForSigning<DSA>(certificate, silent) ??
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (1)
124PkcsPal.Instance.GetPrivateKeyForSigning<ECDsa>(certificate, silent) ??
System\Security\Cryptography\Pkcs\CmsSignature.RSA.cs (1)
116PkcsPal.Instance.GetPrivateKeyForSigning<RSA>(certificate, silent) ??
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
266newSignerInfo.Sid.SubjectKeyIdentifier = PkcsPal.Instance.GetSubjectKeyIdentifier(Certificate!);
System\Security\Cryptography\Pkcs\ContentInfo.cs (2)
48return PkcsPal.Instance.GetEncodedMessageType(encodedMessage); 53return PkcsPal.Instance.GetEncodedMessageType(encodedMessage);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (8)
74throw PkcsPal.Instance.CreateRecipientInfosAfterEncryptException(); 117_encodedMessage = PkcsPal.Instance.Encrypt(recipients, ContentInfo, ContentEncryptionAlgorithm, Certificates, UnprotectedAttributes); 167_decryptorPal = PkcsPal.Instance.Decode(encodedMessage, out version, out contentInfo, out contentEncryptionAlgorithm, out originatorCerts, out unprotectedAttributes); 252PkcsPal.Instance.AddCertsFromStoreForDecryption(certs); 258Exception? exception = PkcsPal.Instance.CreateRecipientsNotFoundException(); 264exception = PkcsPal.Instance.CreateRecipientsNotFoundException(); 296throw PkcsPal.Instance.CreateDecryptAfterEncryptException(); 299throw PkcsPal.Instance.CreateDecryptTwiceException();
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (1)
118byte[] candidateSki = PkcsPal.Instance.GetSubjectKeyIdentifier(certificate);