Home
last modified time | relevance | path

Searched refs:engineGenerateSecret (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementSpiTest.java54 protected byte[] engineGenerateSecret() throws IllegalStateException { in engineGenerateSecret() method in KeyAgreementSpiTest.Mock_KeyAgreementSpi
55 return super.engineGenerateSecret(); in engineGenerateSecret()
59 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret() method in KeyAgreementSpiTest.Mock_KeyAgreementSpi
61 return super.engineGenerateSecret(algorithm); in engineGenerateSecret()
65 protected int engineGenerateSecret(byte[] sharedSecret, int offset) in engineGenerateSecret() method in KeyAgreementSpiTest.Mock_KeyAgreementSpi
67 return super.engineGenerateSecret(sharedSecret, offset); in engineGenerateSecret()
98 byte[] bb = kaSpi.engineGenerateSecret(); in testKeyAgreementSpi01()
100 assertEquals("Returned integer is not 0", kaSpi.engineGenerateSecret(new byte[1], 10), -1); in testKeyAgreementSpi01()
101 assertNull("Not null result", kaSpi.engineGenerateSecret("aaa")); in testKeyAgreementSpi01()
103 kaSpi.engineGenerateSecret(""); in testKeyAgreementSpi01()
DSecretKeyFactorySpiTest.java41 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException { in engineGenerateSecret() method in SecretKeyFactorySpiTest.Mock_SecretKeyFactorySpi
42 return super.engineGenerateSecret(keySpec); in engineGenerateSecret()
68 assertNull("Not null result", skfSpi.engineGenerateSecret(kspec)); in testSecretKeyFactorySpi01()
DMockKeyAgreementSpi.java63 protected byte[] engineGenerateSecret() throws IllegalStateException { in engineGenerateSecret() method in MockKeyAgreementSpi
68 protected int engineGenerateSecret(byte[] sharedSecret, int offset) in engineGenerateSecret() method in MockKeyAgreementSpi
74 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret() method in MockKeyAgreementSpi
/libcore/luni/src/main/java/javax/crypto/
DKeyAgreementSpi.java66 protected abstract byte[] engineGenerateSecret() in engineGenerateSecret() method in KeyAgreementSpi
83 protected abstract int engineGenerateSecret(byte[] sharedSecret, int offset) in engineGenerateSecret() method in KeyAgreementSpi
102 protected abstract SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret() method in KeyAgreementSpi
DSecretKeyFactorySpi.java46 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() method in SecretKeyFactorySpi
DKeyAgreement.java361 return getSpi().engineGenerateSecret(); in generateSecret()
380 return getSpi().engineGenerateSecret(sharedSecret, offset); in generateSecret()
402 return getSpi().engineGenerateSecret(algorithm); in generateSecret()
DSecretKeyFactory.java187 return spiImpl.engineGenerateSecret(keySpec); in generateSecret()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyKeyAgreementSpi.java54 protected byte[] engineGenerateSecret() throws IllegalStateException { in engineGenerateSecret() method in MyKeyAgreementSpi
59 protected int engineGenerateSecret(byte[] sharedSecret, int offset) in engineGenerateSecret() method in MyKeyAgreementSpi
65 protected SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret() method in MyKeyAgreementSpi
DMySecretKeyFactorySpi.java40 protected SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() method in MySecretKeyFactorySpi