14 references to Instance
System.Security.Cryptography.Pkcs (14)
Internal\Cryptography\PkcsHelpers.cs (1)
200byte[] candidateSki = PkcsPal.Instance.GetSubjectKeyIdentifier(cert);
System\Security\Cryptography\Pkcs\CmsSignature.cs (1)
161PkcsPal.Instance.GetPrivateKeyForSigning<T>(certificate, silent) ?? getCertPublicKey(certificate);
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
344newSignerInfo.Sid.SubjectKeyIdentifier = PkcsPal.Instance.GetSubjectKeyIdentifier(Certificate!);
System\Security\Cryptography\Pkcs\ContentInfo.cs (2)
39return PkcsPal.Instance.GetEncodedMessageType(encodedMessage); 45return PkcsPal.Instance.GetEncodedMessageType(encodedMessage);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (8)
68throw PkcsPal.Instance.CreateRecipientInfosAfterEncryptException(); 105_encodedMessage = PkcsPal.Instance.Encrypt(recipients, ContentInfo, ContentEncryptionAlgorithm, Certificates, UnprotectedAttributes); 157_decryptorPal = PkcsPal.Instance.Decode(encodedMessage, out version, out contentInfo, out contentEncryptionAlgorithm, out originatorCerts, out unprotectedAttributes); 232PkcsPal.Instance.AddCertsFromStoreForDecryption(certs); 238Exception? exception = PkcsPal.Instance.CreateRecipientsNotFoundException(); 244exception = PkcsPal.Instance.CreateRecipientsNotFoundException(); 276throw PkcsPal.Instance.CreateDecryptAfterEncryptException(); 279throw PkcsPal.Instance.CreateDecryptTwiceException();
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (1)
124byte[] candidateSki = PkcsPal.Instance.GetSubjectKeyIdentifier(certificate);