Searched refs:keyPair (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/keystore/java/android/security/ |
D | AttestedKeyPair.java | 49 @Nullable KeyPair keyPair, @NonNull List<Certificate> attestationRecord) { in AttestedKeyPair() 50 mKeyPair = keyPair; in AttestedKeyPair() 57 public AttestedKeyPair(@Nullable KeyPair keyPair, @Nullable Certificate[] attestationRecord) { in AttestedKeyPair() argument 58 mKeyPair = keyPair; in AttestedKeyPair()
|
D | KeyChain.java | 748 KeyPair keyPair = getKeyPair(context, alias); in getPrivateKey() local 749 if (keyPair != null) { in getPrivateKey() 750 return keyPair.getPrivate(); in getPrivateKey()
|
/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/keystore2/ |
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 628 if (result.rkpStatus == KeyStoreException.RKP_SUCCESS && result.keyPair != null) { in generateKeyPair() 629 return result.keyPair; in generateKeyPair() 640 return result.keyPair; in generateKeyPair() 650 public final KeyPair keyPair; field in AndroidKeyStoreKeyPairGeneratorSpi.GenerateKeyPairHelperResult 652 private GenerateKeyPairHelperResult(int rkpStatus, KeyPair keyPair) { in GenerateKeyPairHelperResult() argument 654 this.keyPair = keyPair; in GenerateKeyPairHelperResult()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 7353 final KeyPair keyPair = KeyChain.getKeyPair(mContext, alias); in generateKeyPair() local 7364 return new AttestedKeyPair(keyPair, outputChain); in generateKeyPair()
|