Searched refs:generateKeyPair (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 219 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 …]
|
D | KeyFactoryTest.java | 119 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()
|
D | KeyAttestationTest.java | 203 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()
|
D | KeyInfoTest.java | 57 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues()
|
D | ImportWrappedKeyTest.java | 348 return kpg.generateKeyPair(); in genKeyPair()
|
D | AndroidKeyStoreTest.java | 1951 kpg.generateKeyPair(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 308 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/ |
D | KeyChainTestActivity.java | 94 mDevicePolicyManager.generateKeyPair( in doInBackground()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 950 mDevicePolicyManager.generateKeyPair(mComponent, "RSA", spec, 0); in testGenerateKeyPair_failIfNotProfileOwner()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SecurityLoggingTest.java | 491 final KeyPair keyPair = generator.generateKeyPair(); in generateKey()
|