Searched refs:generateKey (Results 1 – 8 of 8) sorted by relevance
108 keyGenerator.generateKey(); in testGenerateWithoutInitThrowsIllegalStateException()188 keyGenerator.generateKey(); in testInitWithAlgParamsAndNullSecureRandom()216 SecretKey key = keyGenerator.generateKey(); in testDefaultKeySize()245 SecretKey key = keyGenerator.generateKey(); in testAesKeySupportedSizes()285 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizes()321 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorized()327 key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorized()501 SecretKey key = keyGenerator.generateKey(); in testGenerateHonorsRequestedAuthorizations()
121 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()190 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys()234 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
343 generateKey(spec, KeyProperties.KEY_ALGORITHM_AES); in testAesAttestation()359 generateKey(spec, KeyProperties.KEY_ALGORITHM_HMAC_SHA256); in testHmacAttestation()866 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey() method in KeyAttestationTest871 keyGenerator.generateKey(); in generateKey()
157 return kg.generateKey(); in generateSecretKey()
130 keyGenerator.generateKey(); in createKey()
144 keyGenerator.generateKey(); in createKey()
232 keyGenerator.generateKey(); in createKey()
275 generateKey(GENERATED_KEY_ALIAS); in generateKeystoreEvents()487 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest