Searched refs:keyMaterial (Results 1 – 3 of 3) sorted by relevance
90 byte[] keyMaterial = new byte[32]; in testKeyStore_ImportWrappedKey()91 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey()104 keyMaterial, in testKeyStore_ImportWrappedKey() local106 makeAuthList(keyMaterial.length * 8, KM_ALGORITHM_AES))); in testKeyStore_ImportWrappedKey()153 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES()154 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_3DES()167 keyMaterial, in testKeyStore_ImportWrappedKey_3DES() local201 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox()202 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_3DES_StrongBox()207 keyMaterial, in testKeyStore_ImportWrappedKey_3DES_StrongBox() local[all …]
31 public TransparentSecretKey(byte[] keyMaterial, String algorithm) { in TransparentSecretKey() argument33 mKeyMaterial = keyMaterial.clone(); in TransparentSecretKey()
1312 protected SecretKey importKey(byte[] keyMaterial) { in importKey() argument1318 new KeyStore.SecretKeyEntry(new SecretKeySpec(keyMaterial, getKeyAlgorithm())), in importKey()