public class CertificateUtil extends Object
| Constructor and Description |
|---|
CertificateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CRL |
getCRL(String url)
Gets the CRL object using a CRL URL.
|
static CRL |
getCRL(X509Certificate certificate)
Gets a CRL from a certificate
|
static String |
getCRLURL(X509Certificate certificate)
Gets the URL of the Certificate Revocation List for a Certificate
|
static String |
getOCSPURL(X509Certificate certificate)
Retrieves the OCSP URL from the given certificate.
|
static String |
getTSAURL(X509Certificate certificate)
Gets the URL of the TSA if it's available on the certificate
|
public static CRL getCRL(X509Certificate certificate) throws CertificateException, CRLException, IOException
certificate -
CertificateException
CRLException
IOException
public static String getCRLURL(X509Certificate certificate) throws CertificateParsingException
certificate - the Certificate
CertificateParsingException
IOException
public static CRL getCRL(String url) throws IOException, CertificateException, CRLException
url - the URL where to get the CRL
IOException
CertificateException
CRLException
public static String getOCSPURL(X509Certificate certificate)
certificate - the certificate
IOException
public static String getTSAURL(X509Certificate certificate)
certificate - a certificate
IOException
Copyright © 1998–2017 iText Group NV. All rights reserved.