public final class CertificateUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
convertToPem(Certificate certificate) |
static List<String> |
convertToPem(List<Certificate> certificates) |
static String |
generateAlias(Certificate certificate) |
static Map<String,List<Certificate>> |
getCertificate(List<String> urls) |
static Map<String,List<Certificate>> |
getCertificate(String... urls) |
static Map<String,List<String>> |
getCertificateAsPem(List<String> urls) |
static Map<String,List<String>> |
getCertificateAsPem(String... urls) |
static List<Certificate> |
getSystemTrustedCertificates() |
static List<Certificate> |
loadCertificate(InputStream... certificateStreams) |
static List<Certificate> |
loadCertificate(Path... certificatePaths) |
static List<Certificate> |
loadCertificate(String... certificatePaths) |
static List<Certificate> |
parseCertificate(String certificateContent) |
public static String generateAlias(Certificate certificate)
public static List<Certificate> loadCertificate(String... certificatePaths)
public static List<Certificate> loadCertificate(Path... certificatePaths)
public static List<Certificate> loadCertificate(InputStream... certificateStreams)
public static List<Certificate> parseCertificate(String certificateContent)
public static List<Certificate> getSystemTrustedCertificates()
public static Map<String,List<Certificate>> getCertificate(String... urls)
public static List<String> convertToPem(List<Certificate> certificates)
public static String convertToPem(Certificate certificate)
Copyright © 2021. All rights reserved.