Lines Matching refs:getKeySpec
27 * @summary Test the EncryptedPrivateKeyInfo.getKeySpec(...) methods.
112 // TEST#1 getKeySpec(Cipher)
113 System.out.println("Testing getKeySpec(Cipher)...");
120 pkcs8Spec = epki.getKeySpec(cipher);
127 // TEST#2 getKeySpec(Key)
128 System.out.println("Testing getKeySpec(Key)...");
129 pkcs8Spec = epki.getKeySpec(cipherKey);
136 // TEST#3 getKeySpec(Key, String)
137 System.out.println("Testing getKeySpec(Key, String)...");
138 pkcs8Spec = epki.getKeySpec(cipherKey, p.getName());
145 // TEST#4 getKeySpec(Key, Provider)
146 System.out.println("Testing getKeySpec(Key, Provider)...");
147 pkcs8Spec = epki.getKeySpec(cipherKey, p);