Home
last modified time | relevance | path

Searched refs:kpg (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAgreementTest.java101 KeyPairGenerator kpg = in testInit_withNonEcKey_fails() local
103 kpg.initialize( in testInit_withNonEcKey_fails()
105 KeyPair rsaKeyPair = kpg.genKeyPair(); in testInit_withNonEcKey_fails()
158 KeyPairGenerator kpg = in generateEphemeralAndroidKeyPair() local
160 kpg.initialize( in generateEphemeralAndroidKeyPair()
163 KeyPair kp = kpg.generateKeyPair(); in generateEphemeralAndroidKeyPair()
191 KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC"); // Use default provider in generateEphemeralServerKeyPair() local
192 kpg.initialize(256); in generateEphemeralServerKeyPair()
194 return kpg.generateKeyPair(); in generateEphemeralServerKeyPair()
DImportWrappedKeyTest.java407 KeyPairGenerator kpg = in genKeyPair() local
409 kpg.initialize( in genKeyPair()
416 return kpg.generateKeyPair(); in genKeyPair()
DAndroidKeyStoreTest.java1902 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
1903 assertNotNull(kpg); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1904 kpg.initialize(new KeyPairGeneratorSpec.Builder(mContext) in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1912 kpg.generateKeyPair(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
/cts/tests/tests/identity/src/android/security/identity/cts/
DX509CertificateSigningTest.java69 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in testSigning() local
72 kpg.initialize(new KeyGenParameterSpec.Builder( in testSigning()
76 KeyPair keyToSignKeyPair = kpg.generateKeyPair(); in testSigning()
78 kpg.initialize(new KeyGenParameterSpec.Builder( in testSigning()
82 KeyPair keyToSignWithKeyPair = kpg.generateKeyPair(); in testSigning()
DEphemeralKeyTest.java141 KeyPairGenerator kpg = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_EC); in TestReader() local
143 kpg.initialize(ecSpec); in TestReader()
144 mEphemeralKeyPair = kpg.generateKeyPair(); in TestReader()
DUtilUnitTests.java258 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in coseGenerateKeyPair() local
265 kpg.initialize(builder.build()); in coseGenerateKeyPair()
266 return kpg.generateKeyPair(); in coseGenerateKeyPair()
DReaderAuthTest.java73 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in createReaderKey() local
79 kpg.initialize(builder.build()); in createReaderKey()
80 return kpg.generateKeyPair(); in createReaderKey()
DUtil.java1283 KeyPairGenerator kpg = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_EC); in createEphemeralKeyPair() local
1285 kpg.initialize(ecSpec); in createEphemeralKeyPair()
1286 KeyPair keyPair = kpg.generateKeyPair(); in createEphemeralKeyPair()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DProtectedConfirmationTest.java134 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in createKey() local
145 kpg.initialize(builder.build()); in createKey()
146 kpg.generateKeyPair(); in createKey()