Home
last modified time | relevance | path

Searched refs:generateKey (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java108 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()
DSecretKeyFactoryTest.java121 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
190 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys()
234 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
DKeyAttestationTest.java343 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 KeyAttestationTest
871 keyGenerator.generateKey(); in generateKey()
DKeyStoreTest.java157 return kg.generateKey(); in generateSecretKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DScreenLockBoundKeysTest.java130 keyGenerator.generateKey(); in createKey()
DFingerprintBoundKeysTest.java144 keyGenerator.generateKey(); in createKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java232 keyGenerator.generateKey(); in createKey()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java275 generateKey(GENERATED_KEY_ALIAS); in generateKeystoreEvents()
487 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest