Home
last modified time | relevance | path

Searched refs:SecretKey (Results 1 – 25 of 40) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMySecretKeyFactorySpi.java29 import javax.crypto.SecretKey;
40 protected SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret()
47 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec()
53 protected SecretKey engineTranslateKey(SecretKey key) in engineTranslateKey()
DMyKeyGeneratorSpi.java30 import javax.crypto.SecretKey;
41 protected SecretKey engineGenerateKey() { in engineGenerateKey()
DMyKeyAgreementSpi.java33 import javax.crypto.SecretKey;
65 protected SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactorySpiTest.java29 import javax.crypto.SecretKey;
41 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException { in engineGenerateSecret()
46 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec()
52 protected SecretKey engineTranslateKey(SecretKey key) throws InvalidKeyException { in engineTranslateKey()
64 SecretKey sk = null; in testSecretKeyFactorySpi01()
DSecretKeyTest.java25 import javax.crypto.SecretKey;
46 public class checkSecretKey implements SecretKey {
DKeyGeneratorSpiTest.java29 import javax.crypto.SecretKey;
43 protected SecretKey engineGenerateKey() { in engineGenerateKey()
DMockKeyAgreementSpi.java26 import javax.crypto.SecretKey;
74 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret()
DKeyAgreementSpiTest.java33 import javax.crypto.SecretKey;
59 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret()
/libcore/luni/src/main/java/javax/crypto/
DSecretKeyFactorySpi.java46 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret()
62 protected abstract KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec()
76 protected abstract SecretKey engineTranslateKey(SecretKey key) in engineTranslateKey()
DSecretKeyFactory.java185 public final SecretKey generateSecret(KeySpec keySpec) in generateSecret()
203 public final KeySpec getKeySpec(SecretKey key, Class keySpec) in getKeySpec()
219 public final SecretKey translateKey(SecretKey key) in translateKey()
DSecretKey.java33 public interface SecretKey extends Key { interface
DKeyGeneratorSpi.java43 protected abstract SecretKey engineGenerateKey(); in engineGenerateKey()
DKeyAgreementSpi.java102 protected abstract SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKSSecretKeyEntryTest.java27 import javax.crypto.SecretKey;
42 SecretKey sk = null; in testSecretKeyEntry()
65 SecretKey sk = new tmpSecretKey(); in testGetSecretKey()
75 SecretKey sk = new tmpSecretKey(); in testToString()
81 class tmpSecretKey implements SecretKey {
/libcore/support/src/test/java/tests/security/
DCipherSymmetricCryptHelper.java20 import javax.crypto.SecretKey;
22 public class CipherSymmetricCryptHelper extends CipherHelper<SecretKey/*, U*/> {
31 public void test(SecretKey key) { in test()
/libcore/luni/src/main/java/javax/crypto/interfaces/
DPBEKey.java20 import javax.crypto.SecretKey;
25 public interface PBEKey extends SecretKey {
/libcore/benchmarks/src/benchmarks/regression/
DCipherBenchmark.java26 import javax.crypto.SecretKey;
89 private static Map<Integer, SecretKey> KEY_SIZES = new HashMap<Integer, SecretKey>();
92 private SecretKey key;
DCipherInputStreamBenchmark.java30 import javax.crypto.SecretKey;
58 private SecretKey key;
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DPSKKeyManagerProxy.java23 import javax.crypto.SecretKey;
47 protected SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
52 protected SecretKey getKey(String identityHint, String identity, SSLEngine engine) { in getKey()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherPBEThread.java23 import javax.crypto.SecretKey;
44 SecretKey key = skf.generateSecret(keySpec); in crypt()
/libcore/luni/src/main/java/javax/crypto/spec/
DSecretKeySpec.java28 import javax.crypto.SecretKey;
35 public class SecretKeySpec implements SecretKey, KeySpec, Serializable {
/libcore/luni/src/test/java/libcore/javax/crypto/
DSecretKeyFactoryTest.java22 import javax.crypto.SecretKey;
198 SecretKey key = factory.generateSecret(ks); in test_PBKDF2_8BIT()
208 SecretKey key = factory.generateSecret(ks); in test_PBKDF2_UTF8()
DCipherInputStreamTest.java28 import javax.crypto.SecretKey;
58 private SecretKey key;
59 private SecretKey rc4Key;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DKeyStoreTestSupport.java32 import javax.crypto.SecretKey;
63 public static class SKey implements SecretKey {
/libcore/luni/src/main/java/java/security/
DKeyStoreSpi.java27 import javax.crypto.SecretKey;
377 if (key instanceof SecretKey) { in engineGetEntry()
378 return new KeyStore.SecretKeyEntry((SecretKey) key); in engineGetEntry()

12