HomeSort by relevance Sort by last modified time
    Searched full:secretkey (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
PBKDFKey.java 3 import javax.crypto.SecretKey;
9 extends SecretKey
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KSSecretKeyEntryTest.java 25 import javax.crypto.SecretKey;
45 * Test for <code>SecretKeyEntry(SecretKey secretKey)</code> constructor
46 * Assertion: throws NullPointerException when secretKey is null
49 SecretKey sk = null;
52 fail("NullPointerException must be thrown when secretKey is null");
59 * Assertion: returns SecretKey from the given entry
62 SecretKey sk = new tmpSecretKey();
64 assertEquals("Incorrect SecretKey", sk, ske.getSecretKey());
72 SecretKey sk = new tmpSecretKey()
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KSSecretKeyEntryTest.java 27 import javax.crypto.SecretKey;
38 * Test for <code>SecretKeyEntry(SecretKey secretKey)</code> constructor
39 * Assertion: throws NullPointerException when secretKey is null
42 SecretKey sk = null;
45 fail("NullPointerException must be thrown when secretKey is null");
56 fail("Unexpected exception was thrown when secretKey is not null");
62 * Assertion: returns SecretKey from the given entry
65 SecretKey sk = new tmpSecretKey();
67 assertEquals("Incorrect SecretKey", sk, ske.getSecretKey())
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseSecretKeyFactory.java 8 import javax.crypto.SecretKey;
29 protected SecretKey engineGenerateSecret(
35 return (SecretKey)keySpec;
42 SecretKey key,
77 protected SecretKey engineTranslateKey(
78 SecretKey key)
BaseKeyGenerator.java 9 import javax.crypto.SecretKey;
72 protected SecretKey engineGenerateKey()
PBESecretKeyFactory.java 6 import javax.crypto.SecretKey;
40 protected SecretKey engineGenerateSecret(
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyTest.java 24 import javax.crypto.SecretKey;
30 * Tests for <code>SecretKey</code> class field
49 sk.getSerVerUID(), //SecretKey.serialVersionUID
53 public class checkSecretKey implements SecretKey {
55 return "SecretKey";
  /external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
MySecretKeyFactorySpi.java 28 import javax.crypto.SecretKey;
38 protected SecretKey engineGenerateSecret(KeySpec keySpec)
45 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec)
51 protected SecretKey engineTranslateKey(SecretKey key)
MyKeyGeneratorSpi.java 29 import javax.crypto.SecretKey;
39 protected SecretKey engineGenerateKey() {
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyTest.java 25 import javax.crypto.SecretKey;
31 * Tests for <code>SecretKey</code> class field
42 sk.getSerVerUID(), //SecretKey.serialVersionUID
46 public class checkSecretKey implements SecretKey {
48 return "SecretKey";
SecretKeyFactorySpiTest.java 29 import javax.crypto.SecretKey;
41 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException {
46 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec)
52 protected SecretKey engineTranslateKey(SecretKey key) throws InvalidKeyException {
64 SecretKey sk = null;
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MySecretKeyFactorySpi.java 29 import javax.crypto.SecretKey;
40 protected SecretKey engineGenerateSecret(KeySpec keySpec)
47 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec)
53 protected SecretKey engineTranslateKey(SecretKey key)
MyKeyGeneratorSpi.java 30 import javax.crypto.SecretKey;
41 protected SecretKey engineGenerateKey() {
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreSecretKey.java 19 import javax.crypto.SecretKey;
22 * {@link SecretKey} backed by Android Keystore.
26 public class AndroidKeyStoreSecretKey extends AndroidKeyStoreKey implements SecretKey {
  /libcore/support/src/test/java/tests/security/
CipherSymmetricCryptHelper.java 20 import javax.crypto.SecretKey;
22 public class CipherSymmetricCryptHelper extends CipherHelper<SecretKey/*, U*/> {
31 public void test(SecretKey key) throws Exception {
  /cts/tests/tests/keystore/src/android/keystore/cts/
ImportedKey.java 22 import javax.crypto.SecretKey;
29 private final SecretKey mOriginalSecretKey;
30 private final SecretKey mKeystoreBackedSecretKey;
41 public ImportedKey(String alias, SecretKey original, SecretKey keystoreBacked) {
129 public SecretKey getOriginalSecretKey() {
134 public SecretKey getKeystoreBackedSecretKey() {
147 throw new IllegalStateException("Not a SecretKey");
TransparentSecretKey.java 19 import javax.crypto.SecretKey;
22 * {@link SecretKey} which exposes its key material. The two reasons for the existence of this class
27 public class TransparentSecretKey implements SecretKey {
MacTest.java 38 import javax.crypto.SecretKey;
214 SecretKey key = importDefaultKatKey(algorithm);
231 SecretKey key = importDefaultKatKey(algorithm);
252 SecretKey key = importDefaultKatKey(algorithm);
273 SecretKey key = getDefaultKatKey(algorithm);
274 SecretKey keystoreKey = importDefaultKatKey(algorithm);
296 SecretKey key = getDefaultKatKey(algorithm);
297 SecretKey keystoreKey = importDefaultKatKey(algorithm);
322 SecretKey key = TestUtils.importIntoAndroidKeyStore(
355 SecretKey key = importDefaultKatKey(algorithm)
    [all...]
  /libcore/ojluni/src/main/java/sun/security/internal/spec/
TlsKeyMaterialSpec.java 30 import javax.crypto.SecretKey;
46 public class TlsKeyMaterialSpec implements KeySpec, SecretKey {
50 private final SecretKey clientMacKey, serverMacKey;
51 private final SecretKey clientCipherKey, serverCipherKey;
65 public TlsKeyMaterialSpec(SecretKey clientMacKey, SecretKey serverMacKey) {
82 public TlsKeyMaterialSpec(SecretKey clientMacKey, SecretKey serverMacKey,
83 SecretKey clientCipherKey, SecretKey serverCipherKey)
    [all...]
  /development/samples/Vault/src/com/example/android/vault/
SecretKeyWrapper.java 32 import javax.crypto.SecretKey;
36 * Wraps {@link SecretKey} instances using a public/private key pair stored in
91 * Wrap a {@link SecretKey} using the public key assigned to this wrapper.
93 * {@link SecretKey}.
95 * @return a wrapped version of the given {@link SecretKey} that can be
98 public byte[] wrap(SecretKey key) throws GeneralSecurityException {
104 * Unwrap a {@link SecretKey} using the private key assigned to this
107 * @param blob a wrapped {@link SecretKey} as previously returned by
108 * {@link #wrap(SecretKey)}.
110 public SecretKey unwrap(byte[] blob) throws GeneralSecurityException
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/
SecretKeyFactorySpi.java 48 * @see SecretKey
57 * Generates a <code>SecretKey</code> object from the
67 protected abstract SecretKey engineGenerateSecret(KeySpec keySpec)
91 protected abstract KeySpec engineGetKeySpec(SecretKey key, Class keySpec)
106 protected abstract SecretKey engineTranslateKey(SecretKey key)
  /external/conscrypt/src/test/java/org/conscrypt/
DuckTypedPSKKeyManagerTest.java 28 import javax.crypto.SecretKey;
140 SecretKey key = new SecretKeySpec("arbitrary".getBytes(), "RAW");
165 // SecretKeySpec rather than SecretKey as declared in the PSKKeyManager interface.
193 public SecretKey getKey(String identityHint, String identity, Socket socket) {
198 // SecretKey getKey(String identityHint, String identity, SSLEngine engine);
224 public SecretKey getKey(String identityHint, String identity, Socket socket) {
228 public SecretKey getKey(String identityHint, String identity, SSLEngine engine) {
257 // PSKKeyManager's return type: SecretKey
262 // PSKKeyManager's return type: SecretKey
292 public SecretKey getKey(String identityHint, String identity, Socket socket)
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
DuckTypedPSKKeyManager.java 22 import javax.crypto.SecretKey;
115 public SecretKey getKey(String identityHint, String identity, Socket socket) {
117 return (SecretKey) mDelegate.getClass()
126 public SecretKey getKey(String identityHint, String identity, SSLEngine engine) {
128 return (SecretKey) mDelegate.getClass()
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sts/
test_connection.py 57 <SecretAccessKey>secretkey</SecretAccessKey>
77 self.assertEqual(response.credentials.secret_key, 'secretkey')
98 self.assertEqual(response.credentials.secret_key, 'secretkey')
130 secretkey
172 'secretkey'
201 <SecretAccessKey>secretkey</SecretAccessKey>
237 self.assertEqual(response.credentials.secret_key, 'secretkey')
  /external/oauth/core/src/main/java/net/oauth/signature/
HMAC_SHA1.java 24 import javax.crypto.SecretKey;
64 SecretKey key = null;
85 private SecretKey key = null;

Completed in 985 milliseconds

1 2 3 4 5 6 7 8