Searched refs:kpg (Results 1 – 8 of 8) sorted by relevance
69 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in testSigning() local72 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()
141 KeyPairGenerator kpg = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_EC); in TestReader() local143 kpg.initialize(ecSpec); in TestReader()144 mEphemeralKeyPair = kpg.generateKeyPair(); in TestReader()
258 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in coseGenerateKeyPair() local265 kpg.initialize(builder.build()); in coseGenerateKeyPair()266 return kpg.generateKeyPair(); in coseGenerateKeyPair()
73 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in createReaderKey() local79 kpg.initialize(builder.build()); in createReaderKey()80 return kpg.generateKeyPair(); in createReaderKey()
1248 KeyPairGenerator kpg = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_EC); in createEphemeralKeyPair() local1250 kpg.initialize(ecSpec); in createEphemeralKeyPair()1251 KeyPair keyPair = kpg.generateKeyPair(); in createEphemeralKeyPair()
134 KeyPairGenerator kpg = KeyPairGenerator.getInstance( in createKey() local145 kpg.initialize(builder.build()); in createKey()146 kpg.generateKeyPair(); in createKey()
407 KeyPairGenerator kpg = in genKeyPair() local409 kpg.initialize( in genKeyPair()416 return kpg.generateKeyPair(); in genKeyPair()
1902 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local1903 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()