Searched refs:keyPair (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtilsTest.java | 286 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() local 292 keyPair.getPublic(), in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() 299 keyPair.getPrivate(), in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() 308 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge() local 313 keyPair.getPublic(), in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge() 321 keyPair.getPrivate(), in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge() 360 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams() local 365 keyPair.getPublic(), in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams() 373 keyPair.getPrivate(), in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams() 386 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectHeader() local [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | AttestedKeyPair.java | 41 public AttestedKeyPair(KeyPair keyPair, Certificate[] attestationRecord) { in AttestedKeyPair() argument 42 mKeyPair = keyPair; in AttestedKeyPair()
|
D | KeyChain.java | 561 KeyPair keyPair = getKeyPair(context, alias); in getPrivateKey() local 562 if (keyPair != null) { in getPrivateKey() 563 return keyPair.getPrivate(); in getPrivateKey()
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/ |
D | IkeKePayload.java | 178 KeyPair keyPair = dhKeyPairGen.generateKeyPair(); in IkeKePayload() local 180 DHPrivateKey privateKey = (DHPrivateKey) keyPair.getPrivate(); in IkeKePayload() 183 DHPublicKey publicKey = (DHPublicKey) keyPair.getPublic(); in IkeKePayload()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 472 KeyPair keyPair = loadKeystoreKeyPair(privateKeyAlias); in generateKeyPair() local 474 storeCertificateChain(flags, createCertificateChain(privateKeyAlias, keyPair)); in generateKeyPair() 477 return keyPair; in generateKeyPair() 491 private Iterable<byte[]> createCertificateChain(final String privateKeyAlias, KeyPair keyPair) in createCertificateChain() argument 497 return getAttestationChain(privateKeyAlias, keyPair, args); in createCertificateChain() 501 return Collections.singleton(generateSelfSignedCertificateBytes(keyPair)); in createCertificateChain() 591 private byte[] generateSelfSignedCertificateBytes(KeyPair keyPair) throws ProviderException { in generateSelfSignedCertificateBytes() argument 593 return generateSelfSignedCertificate(keyPair.getPrivate(), keyPair.getPublic()) in generateSelfSignedCertificateBytes() 604 KeyPair keyPair, KeymasterArguments args) in getAttestationChain() argument
|
D | AndroidKeyStoreProvider.java | 316 KeyPair keyPair = loadAndroidKeyStoreKeyPairFromKeystore(keyStore, privateKeyAlias, uid, in loadAndroidKeyStorePrivateKeyFromKeystore() local 318 return (AndroidKeyStorePrivateKey) keyPair.getPrivate(); in loadAndroidKeyStorePrivateKeyFromKeystore()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 4952 final KeyPair keyPair = KeyChain.getKeyPair(mContext, alias); in generateKeyPair() local 4963 return new AttestedKeyPair(keyPair, outputChain); in generateKeyPair()
|