* Tests if any certificates match in the case of null criteria,
* if [not]proper certificates [do not]match, and if the initialization
* object are copied during the initialization.
*/
public void testSetSubjectPublicKey2() throws Exception {
PublicKey pkey1 = new TestKeyPair("RSA").getPublic();
PublicKey pkey2 = new TestKeyPair("DSA").getPublic();
byte[] encoding1 = pkey1.getEncoded();
byte[] encoding2 = pkey2.getEncoded();
TestCert cert_1 = new TestCert(pkey1);
TestCert cert_2 = new TestCert(pkey2);