Searched refs:cert (Results 1 – 23 of 23) sorted by relevance
24 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()
27 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;
19 import java.security.cert.CertificateEncodingException;20 import java.security.cert.X509Certificate;
28 import java.security.cert.X509Certificate;36 import org.bouncycastle.cert.X509CertificateHolder;37 import org.bouncycastle.cert.X509v1CertificateBuilder;38 import org.bouncycastle.cert.jcajce.JcaX509CertificateConverter;
33 import java.security.cert.X509Certificate;
40 import java.security.cert.CertificateEncodingException;41 import java.security.cert.CertificateException;42 import java.security.cert.CertificateFactory;43 import java.security.cert.X509Certificate;
47 import java.security.cert.CertificateException;48 import java.security.cert.CertificateFactory;49 import java.security.cert.X509Certificate;
40 import java.security.cert.CertificateEncodingException;
47 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()
69 file in X.509 format (see --key and --cert).159 --cert Load certificate chain from the specified file. The file192 $ apksigner sign --key release.pk8 --cert release.x509.pem app.apk
30 import java.security.cert.X509Certificate;
24 import java.security.cert.X509Certificate;
46 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()
58 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() argument828 return idSerialNumber.equals(cert.getSerialNumber()) in isMatchingCerticicate()829 && idIssuer.equals(cert.getIssuerX500Principal()); in isMatchingCerticicate()
41 import java.security.cert.CertificateException;42 import java.security.cert.CertificateFactory;43 import java.security.cert.X509Certificate;
38 import java.security.cert.CertificateEncodingException;
37 import java.security.cert.CertificateEncodingException;38 import java.security.cert.X509Certificate;
39 import java.security.cert.CertificateEncodingException;40 import java.security.cert.X509Certificate;539 private void addSignerCertificate(X509Certificate cert) { in addSignerCertificate() argument540 mSignerCerts.add(cert); in addSignerCertificate()
44 import java.security.cert.CertificateEncodingException;45 import java.security.cert.X509Certificate;
44 import java.security.cert.X509Certificate;
38 import java.security.cert.CertificateFactory;39 import java.security.cert.X509Certificate;
48 import java.security.cert.CertificateEncodingException;49 import java.security.cert.X509Certificate;