Searched refs:keyMaterial (Results 1 – 3 of 3) sorted by relevance
31 public TransparentSecretKey(byte[] keyMaterial, String algorithm) { in TransparentSecretKey() argument33 mKeyMaterial = keyMaterial.clone(); in TransparentSecretKey()
144 byte[] keyMaterial = swKey.getEncoded(); in testKeyStore_ImportWrappedKey_AES()150 keyMaterial, in testKeyStore_ImportWrappedKey_AES() local153 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() local209 makeAesAuthList(keyMaterial.length * 8), in testKeyStore_ImportIncorrectWrappedKey()268 byte[] keyMaterial = swKey.getEncoded(); in testKeyStore_ImportWrappedKey_3DES()274 keyMaterial, in testKeyStore_ImportWrappedKey_3DES() local335 byte[] keyMaterial = privateKey.getEncoded(); in testKeyStore_ImportWrappedKey_RSA()[all …]
1490 protected SecretKey importKey(byte[] keyMaterial) { in importKey() argument1496 new KeyStore.SecretKeyEntry(new SecretKeySpec(keyMaterial, getKeyAlgorithm())), in importKey()