Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java116 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()
DSecretKeyFactoryTest.java121 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
190 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys()
234 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
DImportWrappedKeyTest.java153 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES()
201 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
DKeyAttestationTest.java459 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 KeyAttestationTest
1166 keyGenerator.generateKey(); in generateKey()
DPerformanceTestBase.java215 return mGenerator.getSecretKeyGenerator().generateKey(); in generateSecretKey()
DKeyStoreTest.java157 return kg.generateKey(); in generateSecretKey()
/cts/hostsidetests/appsecurity/test-apps/AuthBoundKeyApp/src/com/android/cts/authboundkey/
DAuthBoundKeyAppTest.java57 keyGenerator.generateKey(); in testGenerateAuthBoundKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DScreenLockBoundKeysTest.java130 keyGenerator.generateKey(); in createKey()
DFingerprintBoundKeysTest.java175 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.java279 generateKey(GENERATED_KEY_ALIAS); in generateKeystoreEvents()
502 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java164 kg.generateKey(); in createAuthBoundKey()