|
iText 8.0.3 API
|
This class contains a series of static methods that allow you to retrieve information from a Certificate. More...
Static Public Member Functions |
|
| static IX509Crl | GetCRL (IX509Certificate certificate) |
| Gets a CRL from an X509 certificate. More... |
|
| static String | GetCRLURL (IX509Certificate certificate) |
| Gets the URL of the Certificate Revocation List for a Certificate More... |
|
| static IX509Crl | GetCRL (String url) |
| Gets the CRL object using a CRL URL. More... |
|
| static String | GetIssuerCertURL (IX509Crl crl) |
| Retrieves the URL for the issuer certificate for the given CRL. More... |
|
| static String | GetOCSPURL (IX509Certificate certificate) |
| Retrieves the OCSP URL from the given certificate. More... |
|
| static String | GetIssuerCertURL (IX509Certificate certificate) |
| Retrieves the URL for the issuer lists certificates for the given certificate. More... |
|
| static String | GetTSAURL (IX509Certificate certificate) |
| Gets the URL of the TSA if it's available on the certificate More... |
|
| static IX509Certificate | GenerateCertificate (Stream data) |
| Generates a certificate object and initializes it with the data read from the input stream inStream. More... |
|
| static void | RetrieveRevocationInfoFromSignedData (IAsn1TaggedObject taggedObj, ICollection< IX509Crl > crls, ICollection< IBasicOcspResponse > ocsps, ICollection< IAsn1Sequence > otherRevocationInfoFormats) |
| Try to retrieve CRL and OCSP responses from the signed data crls field. More... |
|
| static IDerSet | CreateRevocationInfoChoices (ICollection< IX509Crl > crls, ICollection< IBasicOcspResponse > ocsps, ICollection< IAsn1Sequence > otherRevocationInfoFormats) |
| Creates the revocation info (crls field) for SignedData structure: RevocationInfoChoices ::= SET OF RevocationInfoChoice RevocationInfoChoice ::= CHOICE { crl CertificateList, other [1] IMPLICIT OtherRevocationInfoFormat } OtherRevocationInfoFormat ::= SEQUENCE { otherRevInfoFormat OBJECT IDENTIFIER, otherRevInfo ANY DEFINED BY otherRevInfoFormat } CertificateList ::= SEQUENCE { tbsCertList TBSCertList, signatureAlgorithm AlgorithmIdentifier, signatureValue BIT STRING } More... |
|
| static IAsn1Object | GetExtensionValue (IX509Certificate certificate, String oid) |
This class contains a series of static methods that allow you to retrieve information from a Certificate.
|
inlinestatic |
Creates the revocation info (crls field) for SignedData structure: RevocationInfoChoices ::= SET OF RevocationInfoChoice RevocationInfoChoice ::= CHOICE { crl CertificateList, other [1] IMPLICIT OtherRevocationInfoFormat } OtherRevocationInfoFormat ::= SEQUENCE { otherRevInfoFormat OBJECT IDENTIFIER, otherRevInfo ANY DEFINED BY otherRevInfoFormat } CertificateList ::= SEQUENCE { tbsCertList TBSCertList, signatureAlgorithm AlgorithmIdentifier, signatureValue BIT STRING }
| crls | collection of CRL revocation status information. |
| ocsps | collection of OCSP revocation status information. |
| otherRevocationInfoFormats | collection of revocation info other than OCSP and CRL responses, e.g. SCVP Request and Response, stored as iText.Commons.Bouncycastle.Asn1.IAsn1Sequence. |
crls [1] RevocationInfoChoices field of SignedData structure. Null if SignedData has no revocation data.
|
inlinestatic |
Generates a certificate object and initializes it with the data read from the input stream inStream.
| data | the input stream with the certificates. |
|
inlinestatic |
Gets a CRL from an X509 certificate.
| certificate | the X509Certificate to extract the CRL from |
|
inlinestatic |
Gets the CRL object using a CRL URL.
| url | the URL where the CRL is located |
|
inlinestatic |
Gets the URL of the Certificate Revocation List for a Certificate
| certificate | the Certificate |
|
inlinestatic |
| certificate | the certificate from which we need the ExtensionValue |
| oid | the Object Identifier value for the extension. |
|
inlinestatic |
Retrieves the URL for the issuer lists certificates for the given certificate.
| certificate | the certificate |
|
inlinestatic |
Retrieves the URL for the issuer certificate for the given CRL.
| crl | the CRL response |
|
inlinestatic |
Retrieves the OCSP URL from the given certificate.
| certificate | the certificate |
|
inlinestatic |
Gets the URL of the TSA if it's available on the certificate
| certificate | a certificate |
|
inlinestatic |
Try to retrieve CRL and OCSP responses from the signed data crls field.
| taggedObj | signed data crls field as iText.Commons.Bouncycastle.Asn1.IAsn1TaggedObject. |
| crls | collection to store retrieved CRL responses. |
| ocsps | collection of iText.Commons.Bouncycastle.Asn1.Ocsp.IBasicOcspResponse wrappers to store retrieved OCSP responses. |
| otherRevocationInfoFormats | collection of revocation info other than OCSP and CRL responses, e.g. SCVP Request and Response, stored as iText.Commons.Bouncycastle.Asn1.IAsn1Sequence. |