Home
last modified time | relevance | path

Searched refs:certificate (Results 1 – 25 of 253) sorted by relevance

1234567891011

/frameworks/base/services/tests/PackageManagerServiceTests/apks/keyset/
DAndroid.bp15 certificate: ":FrameworksServicesTests_keyset_A_cert",
23 certificate: ":FrameworksServicesTests_keyset_A_cert",
31 certificate: ":FrameworksServicesTests_keyset_A_cert",
39 certificate: ":FrameworksServicesTests_keyset_A_cert",
47 certificate: ":FrameworksServicesTests_keyset_A_cert",
55 certificate: ":FrameworksServicesTests_keyset_A_cert",
63 certificate: ":FrameworksServicesTests_keyset_A_cert",
72 certificate: ":FrameworksServicesTests_keyset_B_cert",
80 certificate: ":FrameworksServicesTests_keyset_B_cert",
88 certificate: ":FrameworksServicesTests_keyset_B_cert",
[all …]
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobAccessMode.java82 void allowPackageAccess(@NonNull String packageName, @NonNull byte[] certificate) { in allowPackageAccess() argument
84 mAllowedPackages.add(PackageIdentifier.create(packageName, certificate)); in allowPackageAccess()
95 boolean isPackageAccessAllowed(@NonNull String packageName, @NonNull byte[] certificate) { in isPackageAccessAllowed() argument
99 return mAllowedPackages.contains(PackageIdentifier.create(packageName, certificate)); in isPackageAccessAllowed()
120 && pm.hasSigningCertificate(callingPackage, packageIdentifier.certificate, in isAccessAllowedForCaller()
159 XmlUtils.writeByteArrayAttribute(out, ATTR_CERTIFICATE, packageIdentifier.certificate); in writeToXml()
176 final byte[] certificate = XmlUtils.readByteArrayAttribute(in, ATTR_CERTIFICATE); in createFromXml()
177 blobAccessMode.allowPackageAccess(packageName, certificate); in createFromXml()
185 public final byte[] certificate; field in BlobAccessMode.PackageIdentifier
187 private PackageIdentifier(@NonNull String packageName, @NonNull byte[] certificate) { in PackageIdentifier() argument
[all …]
/frameworks/base/core/java/android/net/http/
DSslError.java96 public SslError(int error, SslCertificate certificate) { in SslError() argument
97 this(error, certificate, ""); in SslError()
108 public SslError(int error, X509Certificate certificate) { in SslError() argument
109 this(error, certificate, ""); in SslError()
119 public SslError(int error, SslCertificate certificate, String url) { in SslError() argument
120 assert certificate != null; in SslError()
123 mCertificate = certificate; in SslError()
134 public SslError(int error, X509Certificate certificate, String url) { in SslError() argument
135 this(error, new SslCertificate(certificate), url); in SslError()
DSslCertificate.java99 public static Bundle saveState(SslCertificate certificate) { in saveState() argument
100 if (certificate == null) { in saveState()
104 bundle.putString(ISSUED_TO, certificate.getIssuedTo().getDName()); in saveState()
105 bundle.putString(ISSUED_BY, certificate.getIssuedBy().getDName()); in saveState()
106 bundle.putString(VALID_NOT_BEFORE, certificate.getValidNotBefore()); in saveState()
107 bundle.putString(VALID_NOT_AFTER, certificate.getValidNotAfter()); in saveState()
108 X509Certificate x509Certificate = certificate.mX509Certificate; in saveState()
181 public SslCertificate(X509Certificate certificate) { in SslCertificate() argument
182 this(certificate.getSubjectDN().getName(), in SslCertificate()
183 certificate.getIssuerDN().getName(), in SslCertificate()
[all …]
/frameworks/base/core/java/android/security/net/config/
DTrustAnchor.java23 public final X509Certificate certificate; field in TrustAnchor
26 public TrustAnchor(X509Certificate certificate, boolean overridesPins) { in TrustAnchor() argument
27 if (certificate == null) { in TrustAnchor()
30 this.certificate = certificate; in TrustAnchor()
DTrustedCertificateStoreAdapter.java41 return anchor.certificate; in findIssuer()
55 return anchor.certificate; in getTrustAnchor()
/frameworks/base/core/tests/coretests/apks/version/
DAndroid.bp18 certificate: ":FrameworksCoreTests_unit_test_cert",
29 certificate: ":FrameworksCoreTests_unit_test_cert",
40 certificate: ":FrameworksCoreTests_unit_test_cert",
51 certificate: ":FrameworksCoreTests_unit_test_cert",
62 certificate: ":FrameworksCoreTests_unit_test_cert",
/frameworks/base/core/java/android/util/apk/
DSourceStampVerificationResult.java40 boolean present, boolean verified, @Nullable Certificate certificate, in SourceStampVerificationResult() argument
44 this.mCertificate = certificate; in SourceStampVerificationResult()
82 public static SourceStampVerificationResult verified(Certificate certificate, in verified() argument
85 /* present= */ true, /* verified= */ true, certificate, certificateLineage); in verified()
DApkSignatureSchemeV4Verifier.java149 final byte[] encodedCert = signingInfo.certificate; in verifySigner()
185 X509Certificate certificate; in verifySigner() local
187 certificate = (X509Certificate) in verifySigner()
192 certificate = new VerbatimX509Certificate(certificate, encodedCert); in verifySigner()
194 byte[] certificatePublicKeyBytes = certificate.getPublicKey().getEncoded(); in verifySigner()
200 return Pair.create(certificate, signingInfo.apkDigest); in verifySigner()
DApkSignatureSchemeV2Verifier.java342 X509Certificate certificate; in verifySigner() local
344 certificate = (X509Certificate) in verifySigner()
349 certificate = new VerbatimX509Certificate(certificate, encodedCert); in verifySigner()
350 certs.add(certificate); in verifySigner()
/frameworks/native/data/etc/apex/
DAndroid.bp17 name: "com.android.hardware.core_permissions.certificate",
18 certificate: "com.android.hardware.core_permissions",
25 certificate: ":com.android.hardware.core_permissions.certificate",
/frameworks/base/core/java/android/os/incremental/
DV4Signature.java82 public final byte[] certificate; // ASN.1 DER form field in V4Signature.SigningInfo
88 SigningInfo(byte[] apkDigest, byte[] certificate, byte[] additionalData, in SigningInfo() argument
91 this.certificate = certificate; in SigningInfo()
110 byte[] certificate = readBytes(buffer); in fromByteBuffer()
115 return new SigningInfo(apkDigest, certificate, additionalData, publicKey, in fromByteBuffer()
232 signingInfo.apkDigest) + bytesSize(signingInfo.certificate) + bytesSize( in getSignedData()
242 writeBytes(buffer, signingInfo.certificate); in getSignedData()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DIBlobStoreSession.aidl26 void allowPackageAccess(in String packageName, in byte[] certificate); in allowPackageAccess() argument
30 boolean isPackageAccessAllowed(in String packageName, in byte[] certificate); in isPackageAccessAllowed() argument
/frameworks/base/services/tests/servicestests/certs/
DAndroid.bp14 certificate: "keyset_A",
19 certificate: "keyset_B",
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java260 private String certificate = "[default]"; field in OverlayManagerServiceImplTestsBase.FakeDeviceState.PackageBuilder
274 PackageBuilder setCertificate(String certificate) { in setCertificate() argument
275 this.certificate = certificate; in setCertificate()
304 targetOverlayableName, version, apkPath, certificate); in build()
316 final String certificate; field in OverlayManagerServiceImplTestsBase.FakeDeviceState.Package
322 String certificate) { in Package() argument
328 this.certificate = certificate; in Package()
385 return pkg1 != null && pkg2 != null && pkg1.certificate.equals(pkg2.certificate); in signaturesMatching()
/frameworks/base/packages/PackageInstaller/
DAndroid.bp40 certificate: "platform",
57 certificate: "platform",
75 certificate: "platform",
/frameworks/base/core/java/android/security/
DFileIntegrityManager.java71 public boolean isAppSourceCertificateTrusted(@NonNull X509Certificate certificate) in isAppSourceCertificateTrusted() argument
75 certificate.getEncoded(), mContext.getOpPackageName()); in isAppSourceCertificateTrusted()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/
DAndroid.bp32 certificate: "platform",
52 certificate: "platform",
72 certificate: "platform",
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/
DAndroid.bp35 certificate: "platform",
53 certificate: "platform",
71 certificate: "platform",
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java69 Certificate(MediaDrm.Certificate certificate) { in Certificate() argument
70 mCertificate = certificate; in Certificate()
/frameworks/av/apex/
DAndroid.bp65 certificate: ":com.android.media.certificate",
189 certificate: ":com.android.media.swcodec.certificate",
263 name: "com.android.media.certificate",
264 certificate: "com.android.media",
268 name: "com.android.media.swcodec.certificate",
269 certificate: "com.android.media.swcodec",
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrityService.java181 Certificate certificate = sCertFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate() local
182 if (!(certificate instanceof X509Certificate)) { in toCertificate()
185 return (X509Certificate) certificate; in toCertificate()
/frameworks/base/core/tests/overlaytests/remount/test-apps/Target/
DAndroid.bp27 certificate: ":rro-remounted-test-a",
36 certificate: ":rro-remounted-test-a",
/frameworks/base/services/tests/apexsystemservices/apexes/test_com.android.server/
DAndroid.bp27 name: "test_com.android.server.certificate",
28 certificate: "test_com.android.server",
/frameworks/base/packages/SettingsProvider/
DAndroid.bp39 certificate: "platform",
76 certificate: "platform",

1234567891011