Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/services/tests/PackageManagerServiceTests/apks/keyset/
DAndroid.bp16 certificate: ":FrameworksServicesTests_keyset_A_cert",
24 certificate: ":FrameworksServicesTests_keyset_A_cert",
32 certificate: ":FrameworksServicesTests_keyset_A_cert",
40 certificate: ":FrameworksServicesTests_keyset_A_cert",
48 certificate: ":FrameworksServicesTests_keyset_A_cert",
56 certificate: ":FrameworksServicesTests_keyset_A_cert",
64 certificate: ":FrameworksServicesTests_keyset_A_cert",
73 certificate: ":FrameworksServicesTests_keyset_B_cert",
81 certificate: ":FrameworksServicesTests_keyset_B_cert",
89 certificate: ":FrameworksServicesTests_keyset_B_cert",
[all …]
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobAccessMode.java86 void allowPackageAccess(@NonNull String packageName, @NonNull byte[] certificate) { in allowPackageAccess() argument
88 mAllowedPackages.add(PackageIdentifier.create(packageName, certificate)); in allowPackageAccess()
99 boolean isPackageAccessAllowed(@NonNull String packageName, @NonNull byte[] certificate) { in isPackageAccessAllowed() argument
103 return mAllowedPackages.contains(PackageIdentifier.create(packageName, certificate)); in isPackageAccessAllowed()
125 && pm.hasSigningCertificate(callingPackage, packageIdentifier.certificate, in isAccessAllowedForCaller()
177 XmlUtils.writeByteArrayAttribute(out, ATTR_CERTIFICATE, packageIdentifier.certificate); in writeToXml()
194 final byte[] certificate = XmlUtils.readByteArrayAttribute(in, ATTR_CERTIFICATE); in createFromXml()
195 blobAccessMode.allowPackageAccess(packageName, certificate); in createFromXml()
203 public final byte[] certificate; field in BlobAccessMode.PackageIdentifier
205 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/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/
DTs43AuthenticationLibrary.java232 String certificate = getMatchingCertificate(allowedPackageInfo, packageName); in requestEapAkaAuthentication() local
233 if (isCallingPackageAllowed(allowedPackageInfo, packageName, certificate)) { in requestEapAkaAuthentication()
235 getAppName(configs, packageName, certificate), appVersion, slotIndex, in requestEapAkaAuthentication()
286 String certificate = getMatchingCertificate(allowedPackageInfo, packageName); in requestOidcAuthenticationServer() local
287 if (isCallingPackageAllowed(allowedPackageInfo, packageName, certificate)) { in requestOidcAuthenticationServer()
290 getAppName(configs, packageName, certificate), appVersion, slotIndex, in requestOidcAuthenticationServer()
327 String certificate = getMatchingCertificate(allowedPackageInfo, packageName); in requestOidcAuthentication() local
328 if (isCallingPackageAllowed(allowedPackageInfo, packageName, certificate)) { in requestOidcAuthentication()
378 for (String certificate : allowedCertificates) { in getMatchingCertificate()
379 byte[] certificateHash = hexStringToBytes(certificate); in getMatchingCertificate()
[all …]
/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.java193 final byte[] encodedCert = signingInfo.certificate; in verifySigner()
229 X509Certificate certificate; in verifySigner() local
231 certificate = (X509Certificate) in verifySigner()
236 certificate = new VerbatimX509Certificate(certificate, encodedCert); in verifySigner()
238 byte[] certificatePublicKeyBytes = certificate.getPublicKey().getEncoded(); in verifySigner()
244 return Pair.create(certificate, signingInfo.apkDigest); in verifySigner()
DApkSignatureSchemeV2Verifier.java343 X509Certificate certificate; in verifySigner() local
345 certificate = (X509Certificate) in verifySigner()
350 certificate = new VerbatimX509Certificate(certificate, encodedCert); in verifySigner()
351 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/services/tests/PackageManagerServiceTests/host/test-apps/Apex/
DAndroid.bp28 certificate: ":apex.test.certificate",
40 certificate: ":apex.test.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.java290 private String certificate = "[default]"; field in OverlayManagerServiceImplTestsBase.FakeDeviceState.PackageBuilder
304 PackageBuilder setCertificate(String certificate) { in setCertificate() argument
305 this.certificate = certificate; in setCertificate()
334 targetOverlayableName, version, apkPath, certificate); in build()
346 final String certificate; field in OverlayManagerServiceImplTestsBase.FakeDeviceState.Package
352 String certificate) { in Package() argument
358 this.certificate = certificate; in Package()
421 return pkg1 != null && pkg2 != null && pkg1.certificate.equals(pkg2.certificate); in signaturesMatching()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/
DAndroid.bp35 certificate: "platform",
53 certificate: "platform",
71 certificate: "platform",
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/
DAndroid.bp32 certificate: "platform",
52 certificate: "platform",
72 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",
191 certificate: ":com.android.media.swcodec.certificate",
267 name: "com.android.media.certificate",
268 certificate: "com.android.media",
272 name: "com.android.media.swcodec.certificate",
273 certificate: "com.android.media.swcodec",
/frameworks/base/packages/PackageInstaller/
DAndroid.bp43 certificate: "platform",
74 certificate: "platform",
107 certificate: "platform",
/frameworks/base/packages/VpnDialogs/tests/
DAndroid.bp21 // Use platform certificate because the test will invoke a hidden API.
23 certificate: "platform",
/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/core/tests/overlaytests/remount/test-apps/Target/
DAndroid.bp27 certificate: ":rro-remounted-test-a",
36 certificate: ":rro-remounted-test-a",

12345678910>>...13