This class contains a series of static methods that allow you to retrieve information from a Certificate. More...
|
| static X509Crl |
GetCRL (X509Certificate certificate) |
| |
Gets a CRL from an X509 certificate. More...
|
| |
| static String |
GetCRLURL (X509Certificate certificate) |
| |
Gets the URL of the Certificate Revocation List for a Certificate More...
|
| |
| static X509Crl |
GetCRL (String url) |
| |
Gets the CRL object using a CRL URL. More...
|
| |
| static String |
GetOCSPURL (X509Certificate certificate) |
| |
Retrieves the OCSP URL from the given certificate. More...
|
| |
| static String |
GetTSAURL (X509Certificate certificate) |
| |
Gets the URL of the TSA if it's available on the certificate More...
|
| |
This class contains a series of static methods that allow you to retrieve information from a Certificate.
◆ GetCRL() [1/2]
| static X509Crl iText.Signatures.CertificateUtil.GetCRL |
( |
String |
url |
) |
|
|
inlinestatic |
Gets the CRL object using a CRL URL.
-
Parameters
-
| url |
the URL where the CRL is located |
-
Returns
-
CRL object
◆ GetCRL() [2/2]
| static X509Crl iText.Signatures.CertificateUtil.GetCRL |
( |
X509Certificate |
certificate |
) |
|
|
inlinestatic |
Gets a CRL from an X509 certificate.
-
Parameters
-
| certificate |
the X509Certificate to extract the CRL from |
-
Returns
-
CRL or null if there's no CRL available
◆ GetCRLURL()
| static String iText.Signatures.CertificateUtil.GetCRLURL |
( |
X509Certificate |
certificate |
) |
|
|
inlinestatic |
Gets the URL of the Certificate Revocation List for a Certificate
-
Parameters
-
| certificate |
the Certificate |
-
Returns
-
the String where you can check if the certificate was revoked
◆ GetOCSPURL()
| static String iText.Signatures.CertificateUtil.GetOCSPURL |
( |
X509Certificate |
certificate |
) |
|
|
inlinestatic |
Retrieves the OCSP URL from the given certificate.
-
Parameters
-
| certificate |
the certificate |
-
Returns
-
the URL or null
◆ GetTSAURL()
| static String iText.Signatures.CertificateUtil.GetTSAURL |
( |
X509Certificate |
certificate |
) |
|
|
inlinestatic |
Gets the URL of the TSA if it's available on the certificate
-
Parameters
-
| certificate |
a certificate |
-
Returns
-
a TSA URL