/frameworks/base/core/java/android/content/pm/ |
D | VerifierInfo.java | 36 public final PublicKey publicKey; field in VerifierInfo 48 public VerifierInfo(String packageName, PublicKey publicKey) { in VerifierInfo() argument 51 } else if (publicKey == null) { in VerifierInfo() 56 this.publicKey = publicKey; in VerifierInfo() 61 publicKey = (PublicKey) source.readSerializable(); in VerifierInfo() 72 dest.writeSerializable(publicKey); in writeToParcel()
|
D | PackageParser.java | 5700 case com.android.internal.R.attr.publicKey: in parseVerifier() 5711 final PublicKey publicKey = parsePublicKey(encodedPublicKey); in parseVerifier() local 5712 if (publicKey == null) { in parseVerifier() 5717 return new VerifierInfo(packageName, publicKey); in parseVerifier()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | KeyRevocationList.java | 67 RevocationStatus getRevocationStatusForKey(String publicKey) { in getRevocationStatusForKey() argument 68 return mEntries.get(publicKey); in getRevocationStatusForKey() 72 boolean isRevoked(String publicKey) { in isRevoked() argument 73 RevocationStatus entry = getRevocationStatusForKey(publicKey); in isRevoked() 78 void addEntry(String publicKey, String status, String reason) { in addEntry() argument 79 mEntries.put(publicKey, new RevocationStatus(status, reason)); in addEntry() 108 String publicKey = entry.getString(JSON_PUBLIC_KEY); in fromJsonString() local 111 list.addEntry(publicKey, status, reason); in fromJsonString()
|
D | InstallationAsyncTask.java | 150 String publicKey, in InstallationAsyncTask() argument 158 mPublicKey = publicKey; in InstallationAsyncTask() 501 String publicKey = toHexString(avbPublicKey.sha1); in installImage() local 502 if (mKeyRevocationList.isRevoked(publicKey)) { in installImage() 503 imageValidationThrowOrWarning(new KeyRevokedException(publicKey)); in installImage()
|
D | DynamicSystemInstallationService.java | 278 String publicKey = intent.getStringExtra(KEY_PUBKEY); in executeInstallCommand() local 290 url, dsuSlot, publicKey, systemSize, userdataSize, this, mDynSystem, this); in executeInstallCommand()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 44 private final PublicKey publicKey; field in ImsiEncryptionInfo 58 PublicKey publicKey, Date expirationTime) { in ImsiEncryptionInfo() argument 65 this.publicKey = publicKey; in ImsiEncryptionInfo() 75 publicKey = makeKeyObject(b); in ImsiEncryptionInfo() 113 return this.publicKey; in getPublicKey() 152 byte[] b = publicKey.getEncoded(); in writeToParcel() 167 + "publicKey=" + publicKey in toString()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 192 PublicKey publicKey; in getAndroidKeyStorePublicKey() local 195 publicKey = keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedForm)); in getAndroidKeyStorePublicKey() 203 return new AndroidKeyStoreECPublicKey(alias, uid, (ECPublicKey) publicKey); in getAndroidKeyStorePublicKey() 205 return new AndroidKeyStoreRSAPublicKey(alias, uid, (RSAPublicKey) publicKey); in getAndroidKeyStorePublicKey() 214 @NonNull AndroidKeyStorePublicKey publicKey) { in getAndroidKeyStorePrivateKey() 215 String keyAlgorithm = publicKey.getAlgorithm(); in getAndroidKeyStorePrivateKey() 218 publicKey.getAlias(), publicKey.getUid(), ((ECKey) publicKey).getParams()); in getAndroidKeyStorePrivateKey() 221 publicKey.getAlias(), publicKey.getUid(), ((RSAKey) publicKey).getModulus()); in getAndroidKeyStorePrivateKey() 295 AndroidKeyStorePublicKey publicKey = in loadAndroidKeyStoreKeyPairFromKeystore() local 299 AndroidKeyStoreProvider.getAndroidKeyStorePrivateKey(publicKey); in loadAndroidKeyStoreKeyPairFromKeystore() [all …]
|
D | AndroidKeyStoreSignatureSpiBase.java | 109 protected final void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { in engineInitVerify() argument 114 if (publicKey == null) { in engineInitVerify() 118 if (publicKey instanceof AndroidKeyStorePublicKey) { in engineInitVerify() 119 keystoreKey = (AndroidKeyStorePublicKey) publicKey; in engineInitVerify() 121 throw new InvalidKeyException("Unsupported public key type: " + publicKey); in engineInitVerify()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 653 PublicKey publicKey) throws CertificateParsingException, IOException { in generateSelfSignedCertificate() argument 658 return generateSelfSignedCertificateWithFakeSignature(publicKey); in generateSelfSignedCertificate() 663 privateKey, publicKey, signatureAlgorithm); in generateSelfSignedCertificate() 670 return generateSelfSignedCertificateWithFakeSignature(publicKey); in generateSelfSignedCertificate() 677 … PrivateKey privateKey, PublicKey publicKey, String signatureAlgorithm) throws Exception { in generateSelfSignedCertificateWithValidSignature() argument 679 certGen.setPublicKey(publicKey); in generateSelfSignedCertificateWithValidSignature() 691 PublicKey publicKey) throws IOException, CertificateParsingException { in generateSelfSignedCertificateWithFakeSignature() argument 714 try (ASN1InputStream publicKeyInfoIn = new ASN1InputStream(publicKey.getEncoded())) { in generateSelfSignedCertificateWithFakeSignature()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtils.java | 84 PublicKey publicKey, in thmEncryptRecoveryKey() argument 93 /*theirPublicKey=*/ publicKey, in thmEncryptRecoveryKey() 213 PublicKey publicKey, in encryptRecoveryClaim() argument 219 publicKey, in encryptRecoveryClaim()
|
D | KeySyncTask.java | 218 PublicKey publicKey; in syncKeysForAgent() local 223 publicKey = certPath.getCertificates().get(0).getPublicKey(); in syncKeysForAgent() 226 publicKey = mRecoverableKeyStoreDb.getRecoveryServicePublicKey(mUserId, in syncKeysForAgent() 229 if (publicKey == null) { in syncKeysForAgent() 319 publicKey, in syncKeysForAgent() 327 publicKey, in syncKeysForAgent()
|
D | RecoverableKeyStoreManager.java | 499 PublicKey publicKey; in startRecoverySession() local 501 publicKey = KeySyncUtils.deserializePublicKey(verifierPublicKey); in startRecoverySession() 508 if (!publicKeysMatch(publicKey, vaultParams)) { in startRecoverySession() 523 publicKey, in startRecoverySession() 976 private boolean publicKeysMatch(PublicKey publicKey, byte[] vaultParams) { in publicKeysMatch() argument 977 byte[] encodedPublicKey = SecureBox.encodePublicKey(publicKey); in publicKeysMatch()
|
D | SecureBox.java | 382 static byte[] encodePublicKey(PublicKey publicKey) { in encodePublicKey() argument 383 ECPoint point = ((ECPublicKey) publicKey).getW(); in encodePublicKey()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 96 java.security.PublicKey publicKey = null; in testExpirationDate1Day() local 106 "keyIdentifier", publicKey, date); in testExpirationDate1Day() 119 java.security.PublicKey publicKey = null; in testExpirationDate7Day() local 132 "keyIdentifier", publicKey, date); in testExpirationDate7Day()
|
/frameworks/base/identity/java/android/security/identity/ |
D | Util.java | 57 static byte[] publicKeyEncodeUncompressedForm(PublicKey publicKey) { in publicKeyEncodeUncompressedForm() argument 58 ECPoint w = ((ECPublicKey) publicKey).getW(); in publicKeyEncodeUncompressedForm()
|
/frameworks/base/core/java/android/debug/ |
D | IAdbManager.aidl | 33 void allowDebugging(boolean alwaysAllow, String publicKey); in allowDebugging() argument
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbDebuggingManager.java | 1096 String publicKey = mAdbKeyStore.findKeyFromFingerprint(fingerprint); in handleMessage() local 1097 if (publicKey == null || publicKey.isEmpty()) { in handleMessage() 1101 String cmdStr = MSG_DISCONNECT_DEVICE + publicKey; in handleMessage() 1105 mAdbKeyStore.removeKey(publicKey); in handleMessage() 1112 String publicKey = bundle.getString("publicKey"); in handleMessage() local 1113 onPairingResult(publicKey); in handleMessage() 1340 private void onPairingResult(String publicKey) { in onPairingResult() argument 1341 if (publicKey == null) { in onPairingResult() 1349 String fingerprints = getFingerprints(publicKey); in onPairingResult() 1351 String[] args = publicKey.split("\\s+"); in onPairingResult() [all …]
|
D | AdbService.java | 281 public void allowDebugging(boolean alwaysAllow, @NonNull String publicKey) { in allowDebugging() argument 283 Preconditions.checkStringNotEmpty(publicKey); in allowDebugging() 285 mDebuggingManager.allowDebugging(alwaysAllow, publicKey); in allowDebugging()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV3Verifier.java | 289 PublicKey publicKey = in verifySigner() local 293 sig.initVerify(publicKey); in verifySigner() 474 PublicKey publicKey = lastCert.getPublicKey(); in verifyProofOfRotationStruct() local 476 sig.initVerify(publicKey); in verifyProofOfRotationStruct()
|
D | ApkSignatureSchemeV2Verifier.java | 276 PublicKey publicKey = in verifySigner() local 280 sig.initVerify(publicKey); in verifySigner()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | SecureBoxTest.java | 310 PublicKey publicKey = keyGen.genKeyPair().getPublic(); in encrypt_invalidPublicKey() local 314 () -> SecureBox.encrypt(publicKey, TEST_SHARED_SECRET, TEST_HEADER, TEST_PAYLOAD)); in encrypt_invalidPublicKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertUtilsTest.java | 233 PublicKey publicKey = keyPairGenerator.generateKeyPair().getPublic(); in verifyRsaSha256Signature_throwsIfWrongKeyType() local 238 publicKey, in verifyRsaSha256Signature_throwsIfWrongKeyType()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierKeyDownloadManager.java | 580 public void savePublicKey(PublicKey publicKey, int type, String identifier, long expirationDate, in savePublicKey() argument 583 publicKey, new Date(expirationDate)); in savePublicKey()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDb.java | 463 public long setRecoveryServicePublicKey(int userId, int uid, PublicKey publicKey) { in setRecoveryServicePublicKey() argument 465 publicKey.getEncoded()); in setRecoveryServicePublicKey()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 1666 String8 publicKey = AaptXml::getAttribute(tree, PUBLIC_KEY_ATTR, in doDump() local 1668 if (publicKey != "" && error == "") { in doDump() 1671 ResTable::normalizeForOutput(publicKey.string()).string()); in doDump()
|