/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 | 5643 case com.android.internal.R.attr.publicKey: in parseVerifier() 5654 final PublicKey publicKey = parsePublicKey(encodedPublicKey); in parseVerifier() local 5655 if (publicKey == null) { in parseVerifier() 5660 return new VerifierInfo(packageName, publicKey); in parseVerifier()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 42 private final PublicKey publicKey; field in ImsiEncryptionInfo 54 PublicKey publicKey, Date expirationTime) { in ImsiEncryptionInfo() argument 61 this.publicKey = publicKey; in ImsiEncryptionInfo() 70 publicKey = makeKeyObject(b); in ImsiEncryptionInfo() 95 return this.publicKey; in getPublicKey() 133 byte[] b = publicKey.getEncoded(); in writeToParcel() 148 + "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 | 634 PublicKey publicKey) throws CertificateParsingException, IOException { in generateSelfSignedCertificate() argument 639 return generateSelfSignedCertificateWithFakeSignature(publicKey); in generateSelfSignedCertificate() 644 privateKey, publicKey, signatureAlgorithm); in generateSelfSignedCertificate() 651 return generateSelfSignedCertificateWithFakeSignature(publicKey); in generateSelfSignedCertificate() 658 … PrivateKey privateKey, PublicKey publicKey, String signatureAlgorithm) throws Exception { in generateSelfSignedCertificateWithValidSignature() argument 660 certGen.setPublicKey(publicKey); in generateSelfSignedCertificateWithValidSignature() 672 PublicKey publicKey) throws IOException, CertificateParsingException { in generateSelfSignedCertificateWithFakeSignature() argument 695 try (ASN1InputStream publicKeyInfoIn = new ASN1InputStream(publicKey.getEncoded())) { in generateSelfSignedCertificateWithFakeSignature()
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/ |
D | IkeKePayload.java | 183 DHPublicKey publicKey = (DHPublicKey) keyPair.getPublic(); in IkeKePayload() local 187 BigIntegerUtils.bigIntegerToUnsignedByteArray(publicKey.getY(), keySize); in IkeKePayload() 240 DHPublicKey publicKey = (DHPublicKey) dhKeyFactory.generatePublic(publicKeySpec); in getSharedKey() local 247 dhKeyAgreement.doPhase(publicKey, true/** Last phase */); in getSharedKey()
|
/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/base/core/java/android/debug/ |
D | IAdbManager.aidl | 33 void allowDebugging(boolean alwaysAllow, String publicKey); in allowDebugging() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 115 java.security.PublicKey publicKey = null; in testExpirationDate1Day() local 125 "keyIdentifier", publicKey, date); in testExpirationDate1Day() 138 java.security.PublicKey publicKey = null; in testExpirationDate7Day() local 151 "keyIdentifier", publicKey, date); in testExpirationDate7Day()
|
/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/core/java/com/android/server/adb/ |
D | AdbService.java | 237 public void allowDebugging(boolean alwaysAllow, String publicKey) { in allowDebugging() argument 240 mDebuggingManager.allowDebugging(alwaysAllow, publicKey); in allowDebugging()
|
D | AdbDebuggingManager.java | 733 public void allowDebugging(boolean alwaysAllow, String publicKey) { in allowDebugging() argument 736 msg.obj = publicKey; in allowDebugging()
|
/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 | 595 public void savePublicKey(PublicKey publicKey, int type, String identifier, long expirationDate, in savePublicKey() argument 598 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()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 14158 final PublicKey publicKey = verifierSig.getPublicKey(); 14159 expectedPublicKey = publicKey.getEncoded(); 14164 final byte[] actualPublicKey = verifierInfo.publicKey.getEncoded();
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 17472 Landroid/content/pm/VerifierInfo;->publicKey:Ljava/security/PublicKey; 73178 Landroid/telephony/ImsiEncryptionInfo;->publicKey:Ljava/security/PublicKey; 97147 Lcom/android/internal/R$attr;->publicKey:I 112955 Ljava/security/Identity;->publicKey:Ljava/security/PublicKey; 112969 Ljava/security/KeyPair;->publicKey:Ljava/security/PublicKey;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 975 field public static final int publicKey = 16843686; // 0x10103a6
|