Searched refs:keyPair (Results 1 – 3 of 3) sorted by relevance
472 KeyPair keyPair = loadKeystoreKeyPair(privateKeyAlias); in generateKeyPair() local474 storeCertificateChain(flags, createCertificateChain(privateKeyAlias, keyPair)); in generateKeyPair()477 return keyPair; in generateKeyPair()485 private Iterable<byte[]> createCertificateChain(final String privateKeyAlias, KeyPair keyPair) in createCertificateChain() argument491 return getAttestationChain(privateKeyAlias, keyPair, args); in createCertificateChain()495 return Collections.singleton(generateSelfSignedCertificateBytes(keyPair)); in createCertificateChain()586 private byte[] generateSelfSignedCertificateBytes(KeyPair keyPair) throws ProviderException { in generateSelfSignedCertificateBytes() argument588 return generateSelfSignedCertificate(keyPair.getPrivate(), keyPair.getPublic()) in generateSelfSignedCertificateBytes()599 KeyPair keyPair, KeymasterArguments args) in getAttestationChain() argument
269 KeyPair keyPair = loadAndroidKeyStoreKeyPairFromKeystore(keyStore, privateKeyAlias, uid); in loadAndroidKeyStorePrivateKeyFromKeystore() local270 return (AndroidKeyStorePrivateKey) keyPair.getPrivate(); in loadAndroidKeyStorePrivateKeyFromKeystore()
1920 KeyPair keyPair = AndroidKeyStoreProvider.loadAndroidKeyStoreKeyPairFromKeystore( in generateCertificate() local1924 certGen.setPublicKey(keyPair.getPublic()); in generateCertificate()1932 final X509Certificate cert = certGen.generate(keyPair.getPrivate()); in generateCertificate()