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()172 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys()216 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
312 generateKey(spec, KeyProperties.KEY_ALGORITHM_AES); in testAesAttestation()328 generateKey(spec, KeyProperties.KEY_ALGORITHM_HMAC_SHA256); in testHmacAttestation()808 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey() method in KeyAttestationTest813 keyGenerator.generateKey(); in generateKey()
155 return kg.generateKey(); in generateSecretKey()
130 keyGenerator.generateKey(); in createKey()
144 keyGenerator.generateKey(); in createKey()
227 keyGenerator.generateKey(); in createKey()
60413 public final javax.crypto.SecretKey generateKey()95886 public byte[] generateKey()97799 public byte[] generateKey()97811 public byte[] generateKey()