/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/ |
H A D | EnvelopedCms.cs | 172 public void Decrypt(RecipientInfo recipientInfo, X509Certificate2Collection extraStore) in Decrypt() argument 177 if (extraStore == null) in Decrypt() 178 throw new ArgumentNullException(nameof(extraStore)); in Decrypt() 180 DecryptContent(new RecipientInfoCollection(recipientInfo), extraStore); in Decrypt() 183 public void Decrypt(X509Certificate2Collection extraStore) in Decrypt() argument 185 if (extraStore == null) in Decrypt() 186 throw new ArgumentNullException(nameof(extraStore)); in Decrypt() 188 DecryptContent(RecipientInfos, extraStore); in Decrypt() 191 … void DecryptContent(RecipientInfoCollection recipientInfos, X509Certificate2Collection extraStore) in DecryptContent() argument 212 extraStore = extraStore ?? new X509Certificate2Collection(); in DecryptContent() [all …]
|
H A D | SignerInfo.cs | 362 public void CheckSignature(X509Certificate2Collection extraStore, bool verifySignatureOnly) in CheckSignature() argument 364 if (extraStore == null) in CheckSignature() 365 throw new ArgumentNullException(nameof(extraStore)); in CheckSignature() 371 certificate = FindSignerCertificate(SignerIdentifier, extraStore); in CheckSignature() 379 Verify(extraStore, certificate, verifySignatureOnly); in CheckSignature() 400 X509Certificate2Collection extraStore) in FindSignerCertificate() argument 402 if (extraStore == null || extraStore.Count == 0) in FindSignerCertificate() 415 … filtered = extraStore.Find(X509FindType.FindBySerialNumber, issuerSerial.SerialNumber, false); in FindSignerCertificate() 430 …filtered = extraStore.Find(X509FindType.FindBySubjectKeyIdentifier, signerIdentifier.Value, false); in FindSignerCertificate() 537 X509Certificate2Collection extraStore, in Verify() argument [all …]
|
H A D | SignedCms.cs | 420 public void CheckSignature(X509Certificate2Collection extraStore, bool verifySignatureOnly) in CheckSignature() argument 424 if (extraStore == null) in CheckSignature() 425 throw new ArgumentNullException(nameof(extraStore)); in CheckSignature() 427 CheckSignatures(SignerInfos, extraStore, verifySignatureOnly); in CheckSignature() 432 X509Certificate2Collection extraStore, in CheckSignatures() argument 444 signer.CheckSignature(extraStore, verifySignatureOnly); in CheckSignatures() 450 CheckSignatures(counterSigners, extraStore, verifySignatureOnly); in CheckSignatures()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/ |
H A D | EdgeCasesTests.cs | 51 ecms.Decrypt(extraStore); in ImportEdgeCase() 76 ecms.Decrypt(extraStore); in ImportEdgeCaseSki() 155 extraStore.Add(cert); in Rc4AndCngWrappersDontMixTest() 156 ecms.Decrypt(extraStore); in Rc4AndCngWrappersDontMixTest() 172 ecms.Decrypt(extraStore); in ValidateZeroLengthContent() 323 X509Certificate2Collection extraStore = new X509Certificate2Collection(); in EnvelopedCmsDecryptNullRecipient() 342 X509Certificate2Collection extraStore = null; in EnvelopedCmsDecryptNullExtraStore() 343 Assert.Throws<ArgumentNullException>(() => ecms.Decrypt(extraStore)); in EnvelopedCmsDecryptNullExtraStore() 369 X509Certificate2Collection extraStore = new X509Certificate2Collection(); in EnvelopedCmsDecryptWithoutMatchingCert() 371 Assert.ThrowsAny<CryptographicException>(() => ecms.Decrypt(extraStore)); in EnvelopedCmsDecryptWithoutMatchingCert() [all …]
|
H A D | StateTests.cs | 279 X509Certificate2Collection extraStore = new X509Certificate2Collection(cer); in PostDecrypt_Encode() 281 ecms.Decrypt(r[0], extraStore); in PostDecrypt_Encode() 312 X509Certificate2Collection extraStore = new X509Certificate2Collection(cer); in PostDecrypt_RecipientInfos() 314 ecms.Decrypt(col1[0], extraStore); in PostDecrypt_RecipientInfos() 361 X509Certificate2Collection extraStore = new X509Certificate2Collection(); in PostDecrypt_Decrypt() 362 extraStore.Add(cert1); in PostDecrypt_Decrypt() 363 extraStore.Add(cert2); in PostDecrypt_Decrypt() 364 extraStore.Add(cert3); in PostDecrypt_Decrypt() 366 ecms.Decrypt(r[0], extraStore); in PostDecrypt_Decrypt() 372 Assert.ThrowsAny<CryptographicException>(() => ecms.Decrypt(r[1], extraStore)); in PostDecrypt_Decrypt()
|
H A D | DecryptTests.cs | 169 X509Certificate2Collection extraStore = new X509Certificate2Collection(); in DecryptMultipleRecipients() 170 extraStore.Add(cert); in DecryptMultipleRecipients() 171 ecms.Decrypt(extraStore); in DecryptMultipleRecipients() 211 X509Certificate2Collection extraStore = new X509Certificate2Collection(cert); in VerifySimpleDecrypt() 212 ecms.Decrypt(extraStore); in VerifySimpleDecrypt()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Windows/ |
H A D | ChainPal.BuildChain.cs | 31 X509Certificate2Collection extraStore, in BuildChain() argument 43 … using (SafeCertStoreHandle extraStoreHandle = ConvertExtraStoreToSafeHandle(extraStore)) in BuildChain() 84 …ate static SafeCertStoreHandle ConvertExtraStoreToSafeHandle(X509Certificate2Collection extraStore) in ConvertExtraStoreToSafeHandle() argument 86 if (extraStore == null || extraStore.Count == 0) in ConvertExtraStoreToSafeHandle() 89 … return ((StorePal)StorePal.LinkFromCertificateCollection(extraStore)).SafeCertStoreHandle; in ConvertExtraStoreToSafeHandle()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/ |
H A D | ChainPal.cs | 38 X509Certificate2Collection extraStore, in OpenTrustHandle() argument 43 SafeCreateHandle certsArray = PrepareCertsArray(leafCert, extraStore); in OpenTrustHandle() 123 …ate SafeCreateHandle PrepareCertsArray(ICertificatePal cert, X509Certificate2Collection extraStore) in PrepareCertsArray() argument 125 IntPtr[] ptrs = new IntPtr[1 + (extraStore?.Count ?? 0)]; in PrepareCertsArray() 132 if (extraStore != null) in PrepareCertsArray() 134 for (int i = 0; i < extraStore.Count; i++) in PrepareCertsArray() 136 AppleCertificatePal extraCertPal = (AppleCertificatePal)extraStore[i].Pal; in PrepareCertsArray() 545 X509Certificate2Collection extraStore, in BuildChain() argument 569 chainPal.OpenTrustHandle(cert, extraStore, revocationMode); in BuildChain()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/Windows/ |
H A D | DecryptorPalWindows.Decrypt.cs | 20 …X509Certificate2Collection originatorCerts, X509Certificate2Collection extraStore, out Exception e… in TryDecrypt() argument 25 Debug.Assert(extraStore != null); in TryDecrypt() 51 … TryDecryptAgree((KeyAgreeRecipientInfo)recipientInfo, hKey, keySpec, originatorCerts, extraStore); in TryDecrypt() 129 …KeySpec keySpec, X509Certificate2Collection originatorCerts, X509Certificate2Collection extraStore) in TryDecryptAgree() argument 153 candidateCerts.AddRange(extraStore); in TryDecryptAgree()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Security/System.Security.Cryptography.Pkcs/ |
H A D | EnvelopedCms.cs | 198 public void Decrypt (RecipientInfo recipientInfo, X509Certificate2Collection extraStore) in Decrypt() argument 202 if (extraStore == null) in Decrypt() 208 public void Decrypt (X509Certificate2Collection extraStore) in Decrypt() argument 210 if (extraStore == null) in Decrypt()
|
H A D | SignedCms.cs | 129 public void CheckSignature (X509Certificate2Collection extraStore, bool verifySignatureOnly) in CheckSignature() argument 132 si.CheckSignature (extraStore, verifySignatureOnly); in CheckSignature()
|
H A D | SignerInfo.cs | 101 public void CheckSignature (X509Certificate2Collection extraStore, bool verifySignatureOnly) in CheckSignature() argument
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/ |
H A D | ChainPal.cs | 29 X509Certificate2Collection extraStore, in BuildChain() argument 68 extraStore, in BuildChain() 108 foreach (X509Certificate2 extraCert in extraStore) in BuildChain()
|
H A D | OpenSslX509ChainProcessor.cs | 370 X509Certificate2Collection extraStore, in FindCandidates() argument 418 extraStore, in FindCandidates()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/security/system/security/cryptography/x509/ |
H A D | x509chain.cs | 344 X509Certificate2Collection extraStore, in BuildChain() argument 356 if (extraStore != null && extraStore.Count > 0) in BuildChain() 357 hCertStore = X509Utils.ExportToMemoryStore(extraStore); in BuildChain()
|
H A D | x509utils.cs | 526 X509Certificate2Collection extraStore, in VerifyCertificate() argument 539 extraStore, in VerifyCertificate()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/ |
H A D | DecryptorPal.cs | 34 …X509Certificate2Collection originatorCerts, X509Certificate2Collection extraStore, out Exception e… in TryDecrypt() argument
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Pkcs/ref/ |
H A D | System.Security.Cryptography.Pkcs.cs | 121 …pientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 122 …id Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 254 …stem.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySign… in CheckSignature() argument 273 …stem.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySign… in CheckSignature() argument
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Native/Unix/System.Security.Cryptography.Native/ |
H A D | pal_x509.cpp | 209 …oNative_X509StoreCtxInit(X509_STORE_CTX* ctx, X509_STORE* store, X509* x509, X509Stack* extraStore) in CryptoNative_X509StoreCtxInit() argument 211 int32_t val = X509_STORE_CTX_init(ctx, store, x509, extraStore); in CryptoNative_X509StoreCtxInit()
|
H A D | pal_x509.h | 223 …Native_X509StoreCtxInit(X509_STORE_CTX* ctx, X509_STORE* store, X509* x509, X509Stack* extraStore);
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Selectors/ |
H A D | X509CertificateChain.cs | 142 X509Certificate2Collection extraStore, in BuildChain() argument 151 SafeCertStoreHandle hCertStore = ExportToMemoryStore(extraStore, pCertContext); in BuildChain()
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/ |
H A D | System.Security.cs | 174 …pientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 176 …id Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/ |
H A D | System.Security.cs | 174 …pientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 176 …id Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.5.2/ |
H A D | System.Security.cs | 226 …pientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 228 …id Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 368 …stem.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySign… in CheckSignature() argument 399 …stem.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySign… in CheckSignature() argument
|
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.6.1/ |
H A D | System.Security.cs | 227 …pientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 229 …id Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } in Decrypt() argument 369 …stem.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySign… in CheckSignature() argument 400 …stem.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySign… in CheckSignature() argument
|