Searched refs:engineGenerateSecret (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyAgreementSpiTest.java | 54 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()
|
D | SecretKeyFactorySpiTest.java | 41 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()
|
D | MockKeyAgreementSpi.java | 63 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/ |
D | KeyAgreementSpi.java | 66 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
|
D | SecretKeyFactorySpi.java | 46 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() method in SecretKeyFactorySpi
|
D | KeyAgreement.java | 361 return getSpi().engineGenerateSecret(); in generateSecret() 380 return getSpi().engineGenerateSecret(sharedSecret, offset); in generateSecret() 402 return getSpi().engineGenerateSecret(algorithm); in generateSecret()
|
D | SecretKeyFactory.java | 187 return spiImpl.engineGenerateSecret(keySpec); in generateSecret()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyKeyAgreementSpi.java | 54 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
|
D | MySecretKeyFactorySpi.java | 40 protected SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() method in MySecretKeyFactorySpi
|