We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec58ff commit bdb1016Copy full SHA for bdb1016
pkix/src/test/java/org/bouncycastle/pkcs/test/PfxPduTest.java
@@ -1158,6 +1158,10 @@ public void testPfxPduMac1()
1158
assertTrue(pfx.hasMac());
1159
assertTrue(pfx.isMacValid(new BcPKCS12PBMac1CalculatorBuilderProvider(), passwd));
1160
assertFalse(pfx.isMacValid(new BcPKCS12PBMac1CalculatorBuilderProvider(), "not right".toCharArray()));
1161
+
1162
+ KeyStore pkcs12 = KeyStore.getInstance("PKCS12", "BC");
1163
1164
+ pkcs12.load(new ByteArrayInputStream(pfx.getEncoded()), passwd);
1165
}
1166
1167
public void testPfxPduPBMac1PBKdf2()
0 commit comments