harness.check(pubK.equals(newPubK),
"RSA public key Raw encoder/decoder test");
RSAPrivateKey secK = (RSAPrivateKey) kp.getPrivate();
pk = ((GnuRSAPrivateKey) secK).getEncoded(IKeyPairCodec.RAW_FORMAT);
PrivateKey newSecK = codec.decodePrivateKey(pk);
harness.check(secK.equals(newSecK),
"RSA private key Raw encoder/decoder test");
}
private void testKeyPairASN1Codec(TestHarness harness)