Home
last modified time | relevance | path

Searched refs:keyPair (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/keystore/java/android/security/
DAttestedKeyPair.java49 @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()
DKeyChain.java748 KeyPair keyPair = getKeyPair(context, alias); in getPrivateKey() local
749 if (keyPair != null) { in getPrivateKey()
750 return keyPair.getPrivate(); in getPrivateKey()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DSignaturePerfTest.java97 KeyPair keyPair = sKeyPairs.get(keyAlgorithm); in setUp() local
98 if (keyPair == null) { in setUp()
100 keyPair = generator.generateKeyPair(); in setUp()
101 sKeyPairs.put(keyAlgorithm, keyPair); in setUp()
103 this.mPrivateKey = keyPair.getPrivate(); in setUp()
104 this.mPublicKey = keyPair.getPublic(); in setUp()
109 signer.initSign(keyPair.getPrivate()); in setUp()
DKeyPairGeneratorPerfTest.java83 KeyPair keyPair = mGenerator.generateKeyPair(); in time() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java278 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() local
284 keyPair.getPublic(), in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant()
291 keyPair.getPrivate(), in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant()
300 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge() local
305 keyPair.getPublic(), in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge()
313 keyPair.getPrivate(), in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge()
352 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams() local
357 keyPair.getPublic(), in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams()
365 keyPair.getPrivate(), in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams()
378 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectHeader() local
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRemoteLockscreenValidationSessionStorage.java117 LockscreenVerificationSession(KeyPair keyPair, long elapsedStartTime) { in LockscreenVerificationSession() argument
118 mKeyPair = keyPair; in LockscreenVerificationSession()
/frameworks/base/services/tests/VpnTests/java/android/net/
DIkev2VpnProfileTest.java548 final KeyPair keyPair = keyPairGenerator.generateKeyPair(); in generateRandomCertAndKeyPair() local
557 certGen.setPublicKey(keyPair.getPublic()); in generateRandomCertAndKeyPair()
560 final X509Certificate cert = certGen.generate(keyPair.getPrivate(), "AndroidOpenSSL"); in generateRandomCertAndKeyPair()
561 return new CertificateAndKey(cert, keyPair.getPrivate()); in generateRandomCertAndKeyPair()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java7970 final KeyPair keyPair = KeyChain.getKeyPair(mContext, alias); in generateKeyPair() local
7981 return new AttestedKeyPair(keyPair, outputChain); in generateKeyPair()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...