Home
last modified time | relevance | path

Searched refs:generateKey (Results 1 – 10 of 10) 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()
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()
DSecretKeyFactoryTest.java121 SecretKey key = keyGenerator.generateKey(); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
190 SecretKey key = keyGenerator.generateKey(); in testTranslateKeyAcceptsAndroidKeystoreKeys()
234 SecretKey keystoreKey = keyGenerator.generateKey(); in testGenerateSecretRejectsKeyInfo()
DKeyAttestationTest.java348 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 KeyAttestationTest
882 keyGenerator.generateKey(); in generateKey()
DImportWrappedKeyTest.java152 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES()
200 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
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.java171 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()
498 private void generateKey(String keyAlias) throws Exception { in generateKey() method in SecurityLoggingTest