Searched refs:decryptKey (Results 1 – 2 of 2) sorted by relevance
261 private PKCS8EncodedKeySpec getKeySpecImpl(Key decryptKey, in getKeySpecImpl() argument273 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters()); in getKeySpecImpl()301 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey) in getKeySpec() argument303 if (decryptKey == null) { in getKeySpec()306 return getKeySpecImpl(decryptKey, null); in getKeySpec()328 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec() argument331 if (decryptKey == null) { in getKeySpec()342 return getKeySpecImpl(decryptKey, provider); in getKeySpec()362 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec() argument365 if (decryptKey == null) { in getKeySpec()[all …]
37 private void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument40 keyAgreement.doPhase(decryptKey, true); in test()