Searched refs:generateKey (Results 1 – 12 of 12) 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()384 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizesHelper()433 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()442 key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()704 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()
153 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES()201 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
459 generateKey(spec, KeyProperties.KEY_ALGORITHM_AES); in testAesAttestation()479 generateKey(spec, KeyProperties.KEY_ALGORITHM_HMAC_SHA256); in testHmacAttestation()1161 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey() method in KeyAttestationTest1166 keyGenerator.generateKey(); in generateKey()
215 return mGenerator.getSecretKeyGenerator().generateKey(); in generateSecretKey()
157 return kg.generateKey(); in generateSecretKey()
57 keyGenerator.generateKey(); in testGenerateAuthBoundKey()
130 keyGenerator.generateKey(); in createKey()
175 keyGenerator.generateKey(); in createKey()
232 keyGenerator.generateKey(); in createKey()
279 generateKey(GENERATED_KEY_ALIAS); in generateKeystoreEvents()502 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest
164 kg.generateKey(); in createAuthBoundKey()