Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java117 keyGenerator.generateKey(); in testGenerateWithoutInitThrowsIllegalStateException()
209 keyGenerator.generateKey(); in testInitWithAlgParamsAndNullSecureRandomHelper()
245 SecretKey key = keyGenerator.generateKey(); in testDefaultKeySize()
284 SecretKey key = keyGenerator.generateKey(); in testAesKeySupportedSizesHelper()
328 SecretKey key = keyGenerator.generateKey(); in testDESKeySupportedSizes()
389 SecretKey key = keyGenerator.generateKey(); in testHmacKeySupportedSizesHelper()
438 SecretKey key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
447 key = keyGenerator.generateKey(); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
709 SecretKey key = keyGenerator.generateKey(); in testGenerateHonorsRequestedAuthorizationsHelper()
748 SecretKey key = keyGenerator.generateKey(); in testLimitedUseKey()
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()
DPerformanceTestBase.java215 return mGenerator.getSecretKeyGenerator().generateKey(); in generateSecretKey()
DKeyAttestationTest.java618 generateKey(spec, KeyProperties.KEY_ALGORITHM_AES); in testAesAttestation()
638 generateKey(spec, KeyProperties.KEY_ALGORITHM_HMAC_SHA256); in testHmacAttestation()
1337 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey() method in KeyAttestationTest
1342 keyGenerator.generateKey(); in generateKey()
DKeyGenParameterSpecTest.java356 assertThrows(ProviderException.class, keyGenerator::generateKey); in testBuilderSetUidGenerateKeyThrowsException()
DAndroidKeyStoreTest.java1798 final SecretKey key = generator.generateKey(); in testKeyStore_SetKeyEntry_ReplacedWithSameGeneratedSecretKey()
DKeyStoreTest.java157 return kg.generateKey(); in generateSecretKey()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DUtils.java184 keyGenerator.generateKey(); in createTimeBoundSecretKey_deprecated()
204 keyGenerator.generateKey(); in createTimeBoundSecretKey()
227 keyGenerator.generateKey(); in generateBiometricBoundKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DAbstractUserAuthenticationMacTest.java41 keyGenerator.generateKey(); in createUserAuthenticationKey()
DUtils.java56 keyGenerator.generateKey(); in createBiometricBoundKey()
76 keyGenerator.generateKey(); in createTimeBoundSecretKey_deprecated()
DAbstractUserAuthenticationCipherTest.java46 keyGenerator.generateKey(); in createUserAuthenticationKey()
/cts/hostsidetests/appsecurity/test-apps/AuthBoundKeyApp/src/com/android/cts/authboundkey/
DAuthBoundKeyAppTest.java64 SecretKey key = keyGenerator.generateKey(); in testGenerateAuthBoundKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java171 keyGenerator.generateKey(); in createKey()
DUnlockedDeviceRequiredTest.java185 keyGenerator.generateKey(); in createKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java232 keyGenerator.generateKey(); in createKey()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java176 kg.generateKey(); in createAuthBoundKey()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java322 generateKey(GENERATED_KEY_ALIAS); in generateKeystoreEvents()
575 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest