From e75784d15d6d2d80a84176cd7895cd16a678a00f Mon Sep 17 00:00:00 2001 From: David Hook Date: Sat, 18 Apr 2020 18:46:41 +1000 Subject: fixed typo --- crypto/test/src/pkcs/test/PKCS12StoreTest.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'crypto/test') diff --git a/crypto/test/src/pkcs/test/PKCS12StoreTest.cs b/crypto/test/src/pkcs/test/PKCS12StoreTest.cs index 92ed536f3..9d6f541fa 100644 --- a/crypto/test/src/pkcs/test/PKCS12StoreTest.cs +++ b/crypto/test/src/pkcs/test/PKCS12StoreTest.cs @@ -480,7 +480,7 @@ namespace Org.BouncyCastle.Pkcs.Tests + "ADBLMC8wCwYJYIZIAWUDBAIBBCDAU3cgA2uJqlRZ+VamaDDOoqvwwnJKOBUy" + "vn/gZKm4FgQU91hwRSdR+ekb4Lt7bjUUxaC/XYYCAgfQ"); - private static readonly byte[] sentrixHard = Base64.Decode( + private static readonly byte[] sentrixSoft = Base64.Decode( "MIIKgQIBAzCCCj0GCSqGSIb3DQEHAaCCCi4EggoqMIIKJjCCAdoGCSqGSIb3" + "DQEHAaCCAcsEggHHMIIBwzCCAb8GCyqGSIb3DQEMCgECoIHMMIHJMBwGCiqG" + "SIb3DQEMAQMwDgQItChrbpZXBp8CAgfQBIGoEus4fyZZwKntfPRRch685zDx" @@ -921,6 +921,14 @@ namespace Org.BouncyCastle.Pkcs.Tests // stream = new MemoryStream(pkcs12nopass, false); store.Load(stream, "".ToCharArray()); + + stream = new MemoryStream(sentrixHard, false); + store = new Pkcs12StoreBuilder().Build(); + store.Load(stream, "0000".ToCharArray()); + + stream = new MemoryStream(sentrixSoft, false); + store = new Pkcs12StoreBuilder().Build(); + store.Load(stream, "0000".ToCharArray()); } private void DoTestSupportedTypes(AsymmetricKeyEntry privKey, X509CertificateEntry[] chain) -- cgit 1.4.1