Home
last modified time | relevance | path

Searched refs:engineGenerateSecret (Results 1 – 10 of 10) 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/ojluni/src/main/java/javax/crypto/
DKeyAgreementSpi.java145 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
DSecretKeyFactorySpi.java67 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() method in SecretKeyFactorySpi
DKeyAgreement.java623 return spi.engineGenerateSecret(); in generateSecret()
655 return spi.engineGenerateSecret(sharedSecret, offset); in generateSecret()
685 return spi.engineGenerateSecret(algorithm); in generateSecret()
DSecretKeyFactory.java518 return spi.engineGenerateSecret(keySpec); in generateSecret()
524 return mySpi.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
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockKeyAgreementSpi.java65 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