Home
last modified time | relevance | path

Searched refs:decryptKey (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java261 private PKCS8EncodedKeySpec getKeySpecImpl(Key decryptKey, in getKeySpecImpl() argument
273 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters()); in getKeySpecImpl()
301 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey) in getKeySpec() argument
303 if (decryptKey == null) { in getKeySpec()
306 return getKeySpecImpl(decryptKey, null); in getKeySpec()
328 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec() argument
331 if (decryptKey == null) { in getKeySpec()
342 return getKeySpecImpl(decryptKey, provider); in getKeySpec()
362 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, in getKeySpec() argument
365 if (decryptKey == null) { in getKeySpec()
[all …]
/libcore/support/src/test/java/tests/security/
DKeyAgreementHelper.java39 void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument
42 keyAgreement.doPhase(decryptKey, true); in test()
DSignatureHelper.java42 public void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument
48 signature.initVerify(decryptKey); in test()
DCipherHelper.java42 public void test(Key encryptKey, Key decryptKey) throws Exception { in test() argument
47 cipher.init(mode2, decryptKey); in test()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java1767 …adding(String provider, byte[] prePaddedPlainText, Key encryptKey, Key decryptKey) throws Exceptio… in testInputPKCS1Padding() argument
1778 decryptCipher.init(Cipher.DECRYPT_MODE, decryptKey); in testInputPKCS1Padding()
1783 decryptCipher.init(Cipher.DECRYPT_MODE, decryptKey); in testInputPKCS1Padding()
1802 …S1Padding(String provider, byte expectedBlockType, Key encryptKey, Key decryptKey) throws Exceptio… in testOutputPKCS1Padding() argument
1807 decryptCipher.init(Cipher.DECRYPT_MODE, decryptKey); in testOutputPKCS1Padding()
3615 public final Key decryptKey; field in CipherTest.CipherTestParam
3628 Key decryptKey, byte[] aad, byte[] plaintext, byte[] plaintextPadded, in CipherTestParam() argument
3633 this.decryptKey = decryptKey; in CipherTestParam()
3657 PublicKey encryptKey, PrivateKey decryptKey, byte[] plaintext, byte[] ciphertext) { in OAEPCipherTestParam() argument
3658 … super(transformation, spec, encryptKey, decryptKey, null, plaintext, plaintext, ciphertext, in OAEPCipherTestParam()
[all …]