Home
last modified time | relevance | path

Searched refs:cert (Results 1 – 23 of 23) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java24 import java.security.cert.Certificate;
25 import java.security.cert.CertificateException;
26 import java.security.cert.CertificateFactory;
27 import java.security.cert.X509Certificate;
71 for (Certificate cert : certs) { in toCertificateChain()
72 result.add((X509Certificate) cert); in toCertificateChain()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DDelegatingX509Certificate.java27 import java.security.cert.CertificateEncodingException;
28 import java.security.cert.CertificateException;
29 import java.security.cert.CertificateExpiredException;
30 import java.security.cert.CertificateNotYetValidException;
31 import java.security.cert.CertificateParsingException;
32 import java.security.cert.X509Certificate;
DGuaranteedEncodedFormX509Certificate.java19 import java.security.cert.CertificateEncodingException;
20 import java.security.cert.X509Certificate;
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DSignatureTestUtils.java28 import java.security.cert.X509Certificate;
36 import org.bouncycastle.cert.X509CertificateHolder;
37 import org.bouncycastle.cert.X509v1CertificateBuilder;
38 import org.bouncycastle.cert.jcajce.JcaX509CertificateConverter;
DFullApkSignTest.java33 import java.security.cert.X509Certificate;
DJarSigningTest.java33 import java.security.cert.X509Certificate;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java40 import java.security.cert.CertificateEncodingException;
41 import java.security.cert.CertificateException;
42 import java.security.cert.CertificateFactory;
43 import java.security.cert.X509Certificate;
DV3SchemeVerifier.java47 import java.security.cert.CertificateException;
48 import java.security.cert.CertificateFactory;
49 import java.security.cert.X509Certificate;
DV3SchemeSigner.java40 import java.security.cert.CertificateEncodingException;
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java47 import java.security.cert.Certificate;
48 import java.security.cert.CertificateFactory;
49 import java.security.cert.X509Certificate;
815 for (Certificate cert : certChain) { in loadPrivateKeyAndCertsFromKeyStore()
816 this.certs.add((X509Certificate) cert); in loadPrivateKeyAndCertsFromKeyStore()
921 for (Certificate cert : certs) { in loadPrivateKeyAndCertsFromFiles()
922 certList.add((X509Certificate) cert); in loadPrivateKeyAndCertsFromFiles()
Dhelp_sign.txt69 file in X.509 format (see --key and --cert).
159 --cert Load certificate chain from the specified file. The file
192 $ apksigner sign --key release.pk8 --cert release.x509.pem app.apk
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DZFiles.java30 import java.security.cert.X509Certificate;
DApkCreatorFactory.java24 import java.security.cert.X509Certificate;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeSigner.java46 import java.security.cert.CertificateException;
47 import java.security.cert.X509Certificate;
574 for (X509Certificate cert : signerCerts) { in generateSignatureBlock()
575 signedData.certificates.add(new Asn1OpaqueObject(cert.getEncoded())); in generateSignatureBlock()
DV1SchemeVerifier.java58 import java.security.cert.CertificateException;
59 import java.security.cert.CertificateFactory;
60 import java.security.cert.X509Certificate;
783 for (X509Certificate cert : certs) { in findCertificate()
784 if (isMatchingCerticicate(cert, id)) { in findCertificate()
785 return cert; in findCertificate()
818 private static boolean isMatchingCerticicate(X509Certificate cert, SignerIdentifier id) { in isMatchingCerticicate() argument
828 return idSerialNumber.equals(cert.getSerialNumber()) in isMatchingCerticicate()
829 && idIssuer.equals(cert.getIssuerX500Principal()); in isMatchingCerticicate()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java41 import java.security.cert.CertificateException;
42 import java.security.cert.CertificateFactory;
43 import java.security.cert.X509Certificate;
DV2SchemeSigner.java38 import java.security.cert.CertificateEncodingException;
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSigningExtension.java37 import java.security.cert.CertificateEncodingException;
38 import java.security.cert.X509Certificate;
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java39 import java.security.cert.CertificateEncodingException;
40 import java.security.cert.X509Certificate;
539 private void addSignerCertificate(X509Certificate cert) { in addSignerCertificate() argument
540 mSignerCerts.add(cert); in addSignerCertificate()
DSigningCertificateLineage.java44 import java.security.cert.CertificateEncodingException;
45 import java.security.cert.X509Certificate;
DApkSigner.java44 import java.security.cert.X509Certificate;
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java38 import java.security.cert.CertificateFactory;
39 import java.security.cert.X509Certificate;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java48 import java.security.cert.CertificateEncodingException;
49 import java.security.cert.X509Certificate;