Home
last modified time | relevance | path

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

/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java210 assertThat(mTestSupportService.generateKeyPair("RSA", parcelableSpec)).isEqualTo( in testGenerateKeyPairErrorsOnBadUid()
218 assertThat(mTestSupportService.generateKeyPair("BADBAD", parcelableSpec)).isEqualTo( in testGenerateKeyPairErrorsOnInvalidAlgorithm()
227 assertThat(mTestSupportService.generateKeyPair("EC", parcelableSpec)).isEqualTo( in testGenerateKeyPairErrorsOnInvalidAlgorithmParameters()
342 mTestSupportService.generateKeyPair("RSA", parcelableSpec); in testGenerateKeyPairErrorOnAliasSelectionDeniedKey()
349 assertThat(mTestSupportService.generateKeyPair("RSA", parcelableSpec)).isEqualTo( in generateRsaKey()
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java73 @Override public int generateKeyPair(String algorithm, ParcelableKeyGenParameterSpec spec)
76 return keyChainService.generateKeyPair(algorithm, spec);
DIKeyChainServiceTestSupport.aidl39 int generateKeyPair(in String algorithm, in ParcelableKeyGenParameterSpec spec); in generateKeyPair() method
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/security/
DKeyAttestationTest.java73 doReturn(null).when(mMockKeyPairGenerator).generateKeyPair(); in testGenerateAttestationRecord_nullKey()
125 .generateKeyPair(); in testGetAttestationRecord_securityProviderException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKeyAttestationTest.java83 doReturn(mMockKeyPair).when(mMockKeyPairGenerator).generateKeyPair(); in setUp()
101 doReturn(null).when(mMockKeyPairGenerator).generateKeyPair(); in testGenerateAttestationRecord_nullKey_throwsException()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java243 KeyPair keyPair = dhKeyPairGen.generateKeyPair(); in createOutboundModpKePayload()
266 KeyPair keyPair = dhKeyPairGen.generateKeyPair(); in createOutboundCurveKePayload()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DECDSASignatureVerifierTest.java62 KeyPair pair = keyPairGenerator.generateKeyPair(); in setup()
DProtectedAudienceSignatureManagerTest.java391 .encodeToString(keyPairGenerator.generateKeyPair().getPublic().getEncoded()); in generateRandomECPublicKey()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKeyAttestation.java102 return mKeyPairGenerator.generateKeyPair(); in generateHybridKey()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/security/
DKeyAttestation.java134 return keyPairGenerator.generateKeyPair(); in generateHybridKey()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DRkpdHostTestHelperTests.java148 generator.generateKeyPair(); in provisionThenUseKeyThenProvision()
DKeystoreIntegrationTest.java402 generator.generateKeyPair(); in createKeystoreKey()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkShellCommand.java222 AttestedKeyPair kp = mDpm.generateKeyPair(/* admin= */ null, algorithm, keySpec, flags); in handleDeviceAttestationKeyPair()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DUtils.java147 return generator.generateKeyPair(); in generateEcdsaKeyPair()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java311 @Override public int generateKeyPair(
338 KeyPair kp = generator.generateKeyPair();
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java768 final KeyPair keyPair = keyPairGenerator.generateKeyPair(); in generateRandomCertAndKeyPair()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairGattServer.java759 ECParameterSpec ecParameterSpec = ((ECPublicKey) kpg.generateKeyPair().getPublic()) in calculateAntiSpoofing()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...