|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.security.CertificateUtil
public class CertificateUtil
This class contains a series of static methods that allow you to retrieve information from a Certificate.
| Constructor Summary | |
|---|---|
CertificateUtil()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CertificateUtil()
| Method Detail |
|---|
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
CRLExceptionpublic static String getOCSPURL(X509Certificate certificate)
certificate - the certificate
IOExceptionpublic static String getTSAURL(X509Certificate certificate)
certificate - a certificate
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||