Searched refs:privateKeyAlias (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 251 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStorePublicKeyFromKeystore() argument 255 privateKeyAlias, KeymasterDefs.KM_KEY_FORMAT_X509, null, null, uid); in loadAndroidKeyStorePublicKeyFromKeystore() 279 privateKeyAlias, uid, jcaKeyAlgorithm, x509EncodedPublicKey); in loadAndroidKeyStorePublicKeyFromKeystore() 284 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePublicKeyFromKeystore() argument 286 return loadAndroidKeyStorePublicKeyFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStorePublicKeyFromKeystore() 287 getKeyCharacteristics(keyStore, privateKeyAlias, uid)); in loadAndroidKeyStorePublicKeyFromKeystore() 292 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid, in loadAndroidKeyStoreKeyPairFromKeystore() argument 296 loadAndroidKeyStorePublicKeyFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStoreKeyPairFromKeystore() 305 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStoreKeyPairFromKeystore() argument 307 return loadAndroidKeyStoreKeyPairFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStoreKeyPairFromKeystore() [all …]
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 467 final String privateKeyAlias = Credentials.USER_PRIVATE_KEY + mEntryAlias; in generateKeyPair() local 471 privateKeyAlias, constructKeyGenerationArguments(), additionalEntropy, flags); in generateKeyPair() 472 KeyPair keyPair = loadKeystoreKeyPair(privateKeyAlias); in generateKeyPair() 474 storeCertificateChain(flags, createCertificateChain(privateKeyAlias, keyPair)); in generateKeyPair() 491 private Iterable<byte[]> createCertificateChain(final String privateKeyAlias, KeyPair keyPair) in createCertificateChain() argument 497 return getAttestationChain(privateKeyAlias, keyPair, args); in createCertificateChain() 504 private void generateKeystoreKeyPair(final String privateKeyAlias, KeymasterArguments args, in generateKeystoreKeyPair() argument 507 int errorCode = mKeyStore.generateKey(privateKeyAlias, args, additionalEntropy, in generateKeystoreKeyPair() 519 private KeyPair loadKeystoreKeyPair(final String privateKeyAlias) throws ProviderException { in loadKeystoreKeyPair() argument 522 mKeyStore, privateKeyAlias, mEntryUid); in loadKeystoreKeyPair() [all …]
|
D | AndroidKeyStoreSpi.java | 201 String privateKeyAlias = Credentials.USER_PRIVATE_KEY + alias; in getCertificateForPrivateKeyEntry() local 202 if (mKeyStore.contains(privateKeyAlias, mUid)) { in getCertificateForPrivateKeyEntry() 208 return wrapIntoKeyStoreCertificate(privateKeyAlias, mUid, cert); in getCertificateForPrivateKeyEntry() 225 String privateKeyAlias, int uid, X509Certificate certificate) { in wrapIntoKeyStoreCertificate() argument 227 ? new KeyStoreX509Certificate(privateKeyAlias, uid, certificate) : null; in wrapIntoKeyStoreCertificate() 1097 KeyStoreX509Certificate(String privateKeyAlias, int privateKeyUid, in KeyStoreX509Certificate() argument 1100 mPrivateKeyAlias = privateKeyAlias; in KeyStoreX509Certificate()
|