Home
last modified time | relevance | path

Searched refs:keyMaterial (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DTransparentSecretKey.java31 public TransparentSecretKey(byte[] keyMaterial, String algorithm) { in TransparentSecretKey() argument
33 mKeyMaterial = keyMaterial.clone(); in TransparentSecretKey()
DImportWrappedKeyTest.java144 byte[] keyMaterial = swKey.getEncoded(); in testKeyStore_ImportWrappedKey_AES()
150 keyMaterial, in testKeyStore_ImportWrappedKey_AES() local
153 makeAesAuthList(keyMaterial.length * 8))); in testKeyStore_ImportWrappedKey_AES()
198 byte[] keyMaterial = new byte[32]; in testKeyStore_ImportIncorrectWrappedKey()
199 random.nextBytes(keyMaterial); in testKeyStore_ImportIncorrectWrappedKey()
206 keyMaterial, in testKeyStore_ImportIncorrectWrappedKey() local
209 makeAesAuthList(keyMaterial.length * 8), in testKeyStore_ImportIncorrectWrappedKey()
268 byte[] keyMaterial = swKey.getEncoded(); in testKeyStore_ImportWrappedKey_3DES()
274 keyMaterial, in testKeyStore_ImportWrappedKey_3DES() local
335 byte[] keyMaterial = privateKey.getEncoded(); in testKeyStore_ImportWrappedKey_RSA()
[all …]
DBlockCipherTestBase.java1490 protected SecretKey importKey(byte[] keyMaterial) { in importKey() argument
1496 new KeyStore.SecretKeyEntry(new SecretKeySpec(keyMaterial, getKeyAlgorithm())), in importKey()