Searched refs:keyPairGenerator (Results 1 – 3 of 3) sorted by relevance
42 KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); in testImmutabilityViaGetterReturnValues() local43 keyPairGenerator.initialize(new KeyGenParameterSpec.Builder( in testImmutabilityViaGetterReturnValues()57 KeyPair keyPair = keyPairGenerator.generateKeyPair(); in testImmutabilityViaGetterReturnValues()
1172 KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance(algorithm, in generateKeyPair() local1174 keyPairGenerator.initialize(spec); in generateKeyPair()1175 keyPairGenerator.generateKeyPair(); in generateKeyPair()
518 final KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA"); in generateRandomCertAndKeyPair() local519 keyPairGenerator.initialize(512); in generateRandomCertAndKeyPair()520 final KeyPair keyPair = keyPairGenerator.generateKeyPair(); in generateRandomCertAndKeyPair()