Searched refs:generateKey (Results 1 – 10 of 10) sorted by relevance
116 keyGenerator.generateKey(); in testGenerateWithoutInitThrowsIllegalStateException()208 keyGenerator.generateKey(); in testInitWithAlgParamsAndNullSecureRandomHelper()244 SecretKey key = keyGenerator.generateKey(); in testDefaultKeySize()282 SecretKey key = keyGenerator.generateKey(); in testAesKeySupportedSizesHelper()323 SecretKey key = keyGenerator.generateKey(); in testDESKeySupportedSizes()386 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizesHelper()435 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()444 key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()706 SecretKey key = keyGenerator.generateKey(); in testGenerateHonorsRequestedAuthorizationsHelper()
121 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()190 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys()234 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
348 generateKey(spec, KeyProperties.KEY_ALGORITHM_AES); in testAesAttestation()364 generateKey(spec, KeyProperties.KEY_ALGORITHM_HMAC_SHA256); in testHmacAttestation()877 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey() method in KeyAttestationTest882 keyGenerator.generateKey(); in generateKey()
152 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES()200 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
157 return kg.generateKey(); in generateSecretKey()
57 keyGenerator.generateKey(); in testGenerateAuthBoundKey()
130 keyGenerator.generateKey(); in createKey()
171 keyGenerator.generateKey(); in createKey()
232 keyGenerator.generateKey(); in createKey()
279 generateKey(GENERATED_KEY_ALIAS); in generateKeystoreEvents()498 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest