/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MySecretKeyFactorySpi.java | 29 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()
|
D | MyKeyGeneratorSpi.java | 30 import javax.crypto.SecretKey; 41 protected SecretKey engineGenerateKey() { in engineGenerateKey()
|
D | MyKeyAgreementSpi.java | 33 import javax.crypto.SecretKey; 65 protected SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | SecretKeyFactorySpiTest.java | 29 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()
|
D | SecretKeyTest.java | 25 import javax.crypto.SecretKey; 46 public class checkSecretKey implements SecretKey {
|
D | KeyGeneratorSpiTest.java | 29 import javax.crypto.SecretKey; 43 protected SecretKey engineGenerateKey() { in engineGenerateKey()
|
D | MockKeyAgreementSpi.java | 26 import javax.crypto.SecretKey; 74 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret()
|
D | KeyAgreementSpiTest.java | 33 import javax.crypto.SecretKey; 59 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SecretKeyFactorySpi.java | 67 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec) in engineGenerateSecret() 91 protected abstract KeySpec engineGetKeySpec(SecretKey key, Class<?> keySpec) in engineGetKeySpec() 106 protected abstract SecretKey engineTranslateKey(SecretKey key) in engineTranslateKey()
|
D | SecretKeyFactory.java | 515 public final SecretKey generateSecret(KeySpec keySpec) in generateSecret() 559 public final KeySpec getKeySpec(SecretKey key, Class<?> keySpec) in getKeySpec() 594 public final SecretKey translateKey(SecretKey key) in translateKey()
|
D | SecretKey.java | 60 public interface SecretKey extends interface
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KSSecretKeyEntryTest.java | 29 import javax.crypto.SecretKey; 44 SecretKey sk = null; in testSecretKeyEntry() 69 SecretKey sk = new tmpSecretKey(); in testSecretKeyEntry_nullAttributes() 82 SecretKey sk = new tmpSecretKey(); in testGetSecretKey() 92 SecretKey sk = new tmpSecretKey(); in testGetAttributes() 126 SecretKey sk = new tmpSecretKey(); in testToString() 132 class tmpSecretKey implements SecretKey {
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | SecretKeySpec.java | 31 import javax.crypto.SecretKey; 50 public class SecretKeySpec implements KeySpec, SecretKey { 218 if (!(obj instanceof SecretKey)) in equals() 221 String thatAlg = ((SecretKey)obj).getAlgorithm(); in equals() 230 byte[] thatKey = ((SecretKey)obj).getEncoded(); in equals()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | KeyUtil.java | 36 import javax.crypto.SecretKey; 68 if (key instanceof SecretKey) { in getKeySize() 69 SecretKey sk = (SecretKey)key; in getKeySize()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CipherBenchmark.java | 26 import javax.crypto.SecretKey; 85 private static Map<Integer, SecretKey> KEY_SIZES = new HashMap<Integer, SecretKey>(); 88 private SecretKey key;
|
D | CipherInputStreamBenchmark.java | 26 import javax.crypto.SecretKey; 49 private SecretKey key;
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherOutputStreamTest.java | 31 import javax.crypto.SecretKey; 46 SecretKey key; in testDecryptCorruptGCM() 89 private static SecretKey getAndroidKeyStoreSecretKey() throws Exception { in getAndroidKeyStoreSecretKey()
|
D | MockKeyAgreementSpi.java | 26 import javax.crypto.SecretKey; 76 protected SecretKey engineGenerateSecret(String algorithm) throws IllegalStateException, in engineGenerateSecret()
|
D | SecretKeyFactoryTest.java | 24 import javax.crypto.SecretKey; 200 SecretKey key = factory.generateSecret(ks); in test_PBKDF2_8BIT() 210 SecretKey key = factory.generateSecret(ks); in test_PBKDF2_UTF8()
|
D | MacTest.java | 26 import javax.crypto.SecretKey; 135 SecretKey secretKey = secretKeyFactory.generateSecret(pbeKeySpec); in test_PBEWITHHMACSHA_Variants()
|
D | CipherInputStreamTest.java | 36 import javax.crypto.SecretKey; 71 private SecretKey key; 72 private SecretKey rc4Key; 303 SecretKey key; in testDecryptCorruptGCM() 347 private static SecretKey getAndroidKeyStoreSecretKey() throws Exception { in getAndroidKeyStoreSecretKey()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherPBEThread.java | 23 import javax.crypto.SecretKey; 44 SecretKey key = skf.generateSecret(keySpec); in crypt()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStoreSpi.java | 36 import javax.crypto.SecretKey; 486 } else if (key instanceof SecretKey) { in engineGetEntry() 487 return new KeyStore.SecretKeyEntry((SecretKey)key); in engineGetEntry()
|
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
D | ListProviders.java | 32 import javax.crypto.SecretKey; 171 …@Override public SecretKey getKey(String identityHint, String identity, Socket socket) { return nu… in getKey() 172 …@Override public SecretKey getKey(String identityHint, String identity, SSLEngine engine) { return… in getKey()
|
/libcore/ojluni/src/main/java/javax/crypto/interfaces/ |
D | PBEKey.java | 39 public interface PBEKey extends javax.crypto.SecretKey {
|