Home
last modified time | relevance | path

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

/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.java1248 KeyPairGenerator kpg = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_EC); in createEphemeralKeyPair() local
1250 kpg.initialize(ecSpec); in createEphemeralKeyPair()
1251 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()
/cts/tests/tests/keystore/src/android/keystore/cts/
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()