File tree 1 file changed +1
-3
lines changed
prov/src/test/java/org/bouncycastle/jcajce/provider/test
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 6
6
import java .security .spec .X509EncodedKeySpec ;
7
7
8
8
import junit .framework .TestCase ;
9
- import org .bouncycastle .asn1 .ASN1Primitive ;
10
- import org .bouncycastle .asn1 .util .ASN1Dump ;
11
9
import org .bouncycastle .jcajce .CompositePrivateKey ;
12
10
import org .bouncycastle .jcajce .CompositePublicKey ;
13
11
import org .bouncycastle .jce .provider .BouncyCastleProvider ;
@@ -112,7 +110,7 @@ public void testGenericCompositeKey()
112
110
KeyFactory keyFact = KeyFactory .getInstance ("COMPOSITE" , "BC" );
113
111
114
112
CompositePublicKey compPubKey = (CompositePublicKey )keyFact .generatePublic (new X509EncodedKeySpec (genPubKey ));
115
- System . err . println ( ASN1Dump . dumpAsString ( ASN1Primitive . fromByteArray ( genPrivKey ))) ;
113
+
116
114
CompositePrivateKey compPrivKey = (CompositePrivateKey )keyFact .generatePrivate (new PKCS8EncodedKeySpec (genPrivKey ));
117
115
}
118
116
You can’t perform that action at this time.
0 commit comments