/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 221 KeyPair keyPair = generator.generateKeyPair(); in testDefaultKeySize() 336 KeyPair keyPair = generator.generateKeyPair(); in testGenerateHonorsRequestedAuthorizationsHelper() 392 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec() 438 keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec() 484 keyPair = generator.generateKeyPair(); in testGenerate_EC_LegacySpec() 531 KeyPair keyPair = generator.generateKeyPair(); in testGenerate_RSA_LegacySpec() 602 generator.generateKeyPair(), in replacesOldEntryWithSameAliasHelper() 630 generator.generateKeyPair(), in replacesOldEntryWithSameAliasHelper() 665 KeyPair keyPair1 = generator.generateKeyPair(); in doesNotReplaceOtherEntriesHelper() 691 KeyPair keyPair2 = generator.generateKeyPair(); in doesNotReplaceOtherEntriesHelper() [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 | EcdsaSignaturePerformanceTest.java | 111 mKey = generateKeyPair(); in initialSetUp() 139 mKey = generateKeyPair(); in initialSetUp()
|
D | RsaCipherPerformanceTest.java | 115 mKey = generateKeyPair(); in initialSetUp() 143 mKey = generateKeyPair(); in initialSetUp()
|
D | PerformanceTestBase.java | 218 KeyPair generateKeyPair() throws Exception { in generateKeyPair() method in PerformanceTestBase.KeystoreMeasurable 219 return mGenerator.getKeyPairGenerator().generateKeyPair(); in generateKeyPair() 237 generateKeyPair(); in measure()
|
D | RsaSignaturePerformanceTest.java | 138 mKey = generateKeyPair(); in initialSetUp() 166 mKey = generateKeyPair(); in initialSetUp()
|
D | KeyAttestationTest.java | 225 generateKeyPair(KEY_ALGORITHM_EC, spec); in testEcAttestation_NoChallenge() 263 generateKeyPair(KEY_ALGORITHM_EC, builder.build()); in testEcAttestation_DeviceLocked() 289 generateKeyPair(KEY_ALGORITHM_EC, spec); in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId() 393 generateKeyPair(KEY_ALGORITHM_RSA, spec); in testRsaAttestation_NoChallenge() 432 generateKeyPair(KEY_ALGORITHM_RSA, builder.build()); in testRsaAttestation_DeviceLocked() 550 generateKeyPair(KEY_ALGORITHM_RSA, builder.build()); in testRsaAttestation() 609 generateKeyPair(KEY_ALGORITHM_EC, builder.build()); in testEcAttestation() 1169 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair() method in KeyAttestationTest 1175 keyPairGenerator.generateKeyPair(); in generateKeyPair()
|
D | AttestationPerformanceTest.java | 106 mKeyGen.getKeyPairGenerator().generateKeyPair(); in initialSetUp()
|
D | KeyInfoTest.java | 57 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues()
|
D | ImportWrappedKeyTest.java | 416 return kpg.generateKeyPair(); in genKeyPair()
|
D | AndroidKeyStoreTest.java | 1912 kpg.generateKeyPair(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
|
/cts/tests/security/src/android/keystore/cts/ |
D | KeyGenerationUtils.java | 49 AttestedKeyPair generated = dpm.generateKeyPair( in generateKeyWithIdFlagsExpectingSuccess() 66 () -> dpm.generateKeyPair(admin, "RSA", buildRsaKeySpecWithKeyAttestation(ALIAS), in generateKeyWithDeviceIdAttestationExpectingFailure()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | X509CertificateSigningTest.java | 76 KeyPair keyToSignKeyPair = kpg.generateKeyPair(); in testSigning() 82 KeyPair keyToSignWithKeyPair = kpg.generateKeyPair(); in testSigning()
|
D | EphemeralKeyTest.java | 144 mEphemeralKeyPair = kpg.generateKeyPair(); in TestReader()
|
D | UtilUnitTests.java | 266 return kpg.generateKeyPair(); in coseGenerateKeyPair()
|
D | ReaderAuthTest.java | 80 return kpg.generateKeyPair(); in createReaderKey()
|
D | Util.java | 1251 KeyPair keyPair = kpg.generateKeyPair(); in createEphemeralKeyPair()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 321 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanGenerateRSAKeyPair() 333 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanGenerateRSAKeyPairUsingStrongBox() 354 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanGenerateECKeyPair() 366 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in testCanGenerateECKeyPairUsingStrongBox() 459 AttestedKeyPair generated = mDevicePolicyManager.generateKeyPair( in generateKeyAndCheckAttestation() 670 mDevicePolicyManager.generateKeyPair(getWho(), "EC", spec, 0); in testCanSetKeyPairCert() 701 mDevicePolicyManager.generateKeyPair(getWho(), "EC", spec, 0); in testCanSetKeyPairCertChain()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | DirectDelegatedCertInstallerTest.java | 205 AttestedKeyPair generated = mDpm.generateKeyPair( in testGenerateKeyPairWithoutDeviceIdAttestation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ProtectedConfirmationTest.java | 146 kpg.generateKeyPair(); in createKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | KeyChainTestActivity.java | 94 mDevicePolicyManager.generateKeyPair( in doInBackground()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | Ikev2VpnTest.java | 520 final KeyPair keyPair = keyPairGenerator.generateKeyPair(); in generateRandomCertAndKeyPair()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 968 mDevicePolicyManager.generateKeyPair(mComponent, "RSA", spec, 0); in testGenerateKeyPair_failIfNotProfileOwner()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SecurityLoggingTest.java | 506 final KeyPair keyPair = generator.generateKeyPair(); in generateKey()
|