Home
last modified time | relevance | path

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

/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java205 assertThat(mTestSupportService.generateKeyPair("RSA", parcelableSpec)).isEqualTo( in testGenerateKeyPairErrorsOnBadUid()
217 assertThat(mTestSupportService.generateKeyPair("RSA", parcelableSpec)).isEqualTo( in testGenerateKeyPairErrorsOnSuperflousAttestationChallenge()
225 assertThat(mTestSupportService.generateKeyPair("BADBAD", parcelableSpec)).isEqualTo( in testGenerateKeyPairErrorsOnInvalidAlgorithm()
234 assertThat(mTestSupportService.generateKeyPair("EC", parcelableSpec)).isEqualTo( in testGenerateKeyPairErrorsOnInvalidAlgorithmParameters()
310 mTestSupportService.generateKeyPair("RSA", parcelableSpec); in testGenerateKeyPairErrorOnAliasSelectionDeniedKey()
317 assertThat(mTestSupportService.generateKeyPair("RSA", parcelableSpec)).isEqualTo( in generateRsaKey()
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java98 @Override public int generateKeyPair(String algorithm, ParcelableKeyGenParameterSpec spec)
101 return keyChainService.generateKeyPair(algorithm, spec);
DIKeyChainServiceTestSupport.aidl43 int generateKeyPair(in String algorithm, in ParcelableKeyGenParameterSpec spec); in generateKeyPair() method
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java176 @Override public int generateKeyPair(
215 KeyPair kp = generator.generateKeyPair();
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java201 KeyPair keyPair = dhKeyPairGen.generateKeyPair(); in IkeKePayload()