Lines Matching refs:cert
24 import org.bouncycastle.cert.jcajce.JcaCertStore;
61 import java.security.cert.CertificateEncodingException;
62 import java.security.cert.CertificateFactory;
63 import java.security.cert.X509Certificate;
123 private static int getDigestAlgorithm(X509Certificate cert) { in getDigestAlgorithm() argument
124 String sigAlg = cert.getSigAlgName().toUpperCase(Locale.US); in getDigestAlgorithm()
132 "\" in cert [" + cert.getSubjectDN()); in getDigestAlgorithm()
137 private static String getSignatureAlgorithm(X509Certificate cert) { in getSignatureAlgorithm() argument
138 String sigAlg = cert.getSigAlgName().toUpperCase(Locale.US); in getSignatureAlgorithm()
139 String keyType = cert.getPublicKey().getAlgorithm().toUpperCase(Locale.US); in getSignatureAlgorithm()
141 if (getDigestAlgorithm(cert) == USE_SHA256) { in getSignatureAlgorithm()