Searched refs:generateKey (Results 1 – 8 of 8) sorted by relevance
99 keyGenerator.generateKey(); in testGenerateWithoutInitThrowsIllegalStateException()179 keyGenerator.generateKey(); in testInitWithAlgParamsAndNullSecureRandom()207 SecretKey key = keyGenerator.generateKey(); in testDefaultKeySize()236 SecretKey key = keyGenerator.generateKey(); in testAesKeySupportedSizes()276 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizes()312 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorized()318 key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorized()492 SecretKey key = keyGenerator.generateKey(); in testGenerateHonorsRequestedAuthorizations()
113 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()182 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys()226 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
339 generateKey(spec, KeyProperties.KEY_ALGORITHM_AES); in testAesAttestation()355 generateKey(spec, KeyProperties.KEY_ALGORITHM_HMAC_SHA256); in testHmacAttestation()864 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey() method in KeyAttestationTest869 keyGenerator.generateKey(); in generateKey()
155 return kg.generateKey(); in generateSecretKey()
130 keyGenerator.generateKey(); in createKey()
144 keyGenerator.generateKey(); in createKey()
229 keyGenerator.generateKey(); in createKey()
60413 public final javax.crypto.SecretKey generateKey()95886 public byte[] generateKey()97799 public byte[] generateKey()97811 public byte[] generateKey()