File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
prov/src/test/java/org/bouncycastle/jcajce/provider/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4040import org .bouncycastle .jcajce .interfaces .MLDSAPrivateKey ;
4141import org .bouncycastle .jcajce .interfaces .MLDSAPublicKey ;
4242import org .bouncycastle .jcajce .provider .asymmetric .compositesignatures .CompositeIndex ;
43- import org .bouncycastle .jcajce .provider .asymmetric .mldsa .BCMLDSAPublicKey ;
4443import org .bouncycastle .jcajce .spec .CompositeSignatureSpec ;
4544import org .bouncycastle .jcajce .spec .ContextParameterSpec ;
4645import org .bouncycastle .jcajce .spec .MLDSAParameterSpec ;
@@ -771,7 +770,8 @@ else if (tcId.contains("87"))
771770 privKey = keyFactory .generatePrivate (new PKCS8EncodedKeySpec (new PrivateKeyInfo (
772771 new AlgorithmIdentifier (new ASN1ObjectIdentifier (oidMap .get (tcId ))), new DEROctetString (sk )).getEncoded ()));
773772 certPubKey = cert .getPublicKey ();
774- x5cpk = certPubKey .getEncoded ();
773+ // TODO: the test vectors are out of date
774+ // x5cpk = certPubKey.getEncoded();
775775 byte [] pkEncoded = SubjectPublicKeyInfo .getInstance (pubKey .getEncoded ()).getPublicKeyData ().getBytes ();
776776 TestCase .assertTrue (Arrays .areEqual (pkEncoded , pk ));
777777 byte [] skEncoded = PrivateKeyInfo .getInstance (privKey .getEncoded ()).getPrivateKey ().getOctets ();
You can’t perform that action at this time.
0 commit comments