Home
last modified time | relevance | path

Searched refs:generateKeyPair (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java219 KeyPair keyPair = generator.generateKeyPair(); in testDefaultKeySize()
326 KeyPair keyPair = generator.generateKeyPair(); in testGenerateHonorsRequestedAuthorizations()
381 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec()
427 keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec()
473 keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec()
520 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_LegacySpec()
584 generator.generateKeyPair(), in testGenerate_ReplacesOldEntryWithSameAlias()
611 generator.generateKeyPair(), in testGenerate_ReplacesOldEntryWithSameAlias()
639 KeyPair keyPair1 = generator.generateKeyPair(); in testGenerate_DoesNotReplaceOtherEntries()
664 KeyPair keyPair2 = generator.generateKeyPair(); in testGenerate_DoesNotReplaceOtherEntries()
[all …]
DKeyFactoryTest.java119 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
161 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo()
189 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePrivateKeyRejectsTransparentKeySpecAndEncodedKeySpec()
214 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec()
234 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec()
295 KeyPair keyPair = keyGenerator.generateKeyPair(); in testTranslateKeyAcceptsAndroidKeystoreKeys()
454 KeyPair keyPair = keyGenerator.generateKeyPair(); in testGeneratePrivateAndPublicRejectKeyInfo()
DKeyAttestationTest.java203 generateKeyPair(KEY_ALGORITHM_EC, spec); in testEcAttestation_NoChallenge()
229 generateKeyPair(KEY_ALGORITHM_EC, spec); in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId()
320 generateKeyPair(KEY_ALGORITHM_RSA, spec); in testRsaAttestation_NoChallenge()
422 generateKeyPair(KEY_ALGORITHM_RSA, builder.build()); in testRsaAttestation()
476 generateKeyPair(KEY_ALGORITHM_EC, builder.build()); in testEcAttestation()
874 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair() method in KeyAttestationTest
880 keyPairGenerator.generateKeyPair(); in generateKeyPair()
DKeyInfoTest.java57 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues()
DImportWrappedKeyTest.java348 return kpg.generateKeyPair(); in genKeyPair()
DAndroidKeyStoreTest.java1951 kpg.generateKeyPair(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java308 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanGenerateRSAKeyPair()
326 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanGenerateECKeyPair()
411 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in generateKeyAndCheckAttestation()
566 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanSetKeyPairCert()
597 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanSetKeyPairCertChain()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java94 mDevicePolicyManager.generateKeyPair( in doInBackground()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java950 mDevicePolicyManager.generateKeyPair(mComponent, "RSA", spec, 0); in testGenerateKeyPair_failIfNotProfileOwner()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java491 final KeyPair keyPair = generator.generateKeyPair(); in generateKey()