Home | History | Annotate | Download | only in testcases

Lines Matching refs:pub

1429   private void checkPublicKey(RSAPublicKey pub, RSAPrivateKey priv) {
1430 assertEquals(pub.getModulus(), priv.getModulus());
1431 BigInteger e = pub.getPublicExponent();
1437 RSAPublicKey pub = (RSAPublicKey) keypair.getPublic();
1447 checkPublicKey(pub, priv);
1473 RSAPublicKey pub = (RSAPublicKey) kf.generatePublic(spec);
1475 "X.509", pub.getFormat());
1476 assertEquals(ENCODED_PUBLIC_KEY, TestUtil.bytesToHex(pub.getEncoded()));