/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/ojluni/src/main/java/javax/crypto/ |
D | KeyAgreementSpi.java | 145 protected abstract byte[] engineGenerateSecret() in engineGenerateSecret() method in KeyAgreementSpi 174 protected abstract int engineGenerateSecret(byte[] sharedSecret, in engineGenerateSecret() method in KeyAgreementSpi 201 protected abstract SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret() method in KeyAgreementSpi
|
D | SecretKeyFactorySpi.java | 67 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() method in SecretKeyFactorySpi
|
D | KeyAgreement.java | 623 return spi.engineGenerateSecret(); in generateSecret() 655 return spi.engineGenerateSecret(sharedSecret, offset); in generateSecret() 685 return spi.engineGenerateSecret(algorithm); in generateSecret()
|
D | SecretKeyFactory.java | 518 return spi.engineGenerateSecret(keySpec); in generateSecret() 524 return mySpi.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
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockKeyAgreementSpi.java | 65 protected byte[] engineGenerateSecret() throws IllegalStateException { in engineGenerateSecret() method in MockKeyAgreementSpi 70 protected int engineGenerateSecret(byte[] sharedSecret, int offset) in engineGenerateSecret() method in MockKeyAgreementSpi 76 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret() method in MockKeyAgreementSpi
|