IIssuingCertificateRetriever default implementation. More...
◆ IssuingCertificateRetriever()
iText.Signatures.IssuingCertificateRetriever.IssuingCertificateRetriever |
( |
|
) |
|
|
inline |
◆ AddKnownCertificates()
virtual void iText.Signatures.IssuingCertificateRetriever.AddKnownCertificates |
( |
ICollection< IX509Certificate > |
certificates |
) |
|
|
inlinevirtual |
Add certificates collection to known certificates storage, which is used for issuer certificates retrieval.
-
Parameters
-
certificates |
certificates System.Collections.ICollection to be added |
◆ AddTrustedCertificates()
virtual void iText.Signatures.IssuingCertificateRetriever.AddTrustedCertificates |
( |
ICollection< IX509Certificate > |
certificates |
) |
|
|
inlinevirtual |
Add trusted certificates collection to trusted certificates storage.
-
Parameters
-
certificates |
certificates System.Collections.ICollection to be added |
◆ GetCrlIssuerCertificates()
Retrieves certificates that can be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension.
-
Parameters
-
Retrieves certificates that can be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension.
-
Returns
-
Retrieves certificates that can be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension.
Implements iText.Signatures.IIssuingCertificateRetriever.
◆ GetIssuerCertByURI()
virtual Stream iText.Signatures.IssuingCertificateRetriever.GetIssuerCertByURI |
( |
String |
uri |
) |
|
|
inlinepackagevirtual |
Get CA issuers certificates represented as System.IO.Stream.
-
Parameters
-
System.Uri URI, which is expected to be used to get issuer certificates from. Usually CA Issuers value from Authority Information Access (AIA) certificate extension.
-
Returns
-
CA issuer certificate (or chain) bytes, represented as System.IO.Stream.
◆ GetTrustedCertificatesStore()
◆ IsCertificateTrusted()
virtual bool iText.Signatures.IssuingCertificateRetriever.IsCertificateTrusted |
( |
IX509Certificate |
certificate |
) |
|
|
inlinevirtual |
◆ ParseCertificates()
virtual ICollection<IX509Certificate> iText.Signatures.IssuingCertificateRetriever.ParseCertificates |
( |
Stream |
certsData |
) |
|
|
inlinepackagevirtual |
Parses certificates represented as byte array.
-
Parameters
-
certsData |
stream which contains one or more X509 certificates. |
-
Returns
-
a (possibly empty) collection of the certificates read from the given byte array.
◆ RetrieveIssuerCertificate()
Retrieve issuer certificate for the provided certificate.
-
Parameters
-
iText.Commons.Bouncycastle.Cert.IX509Certificate for which issuer certificate shall be retrieved
-
Returns
-
issuer certificate.
null
if there is no issuer certificate, or it cannot be retrieved.
◆ RetrieveMissingCertificates()
Retrieves missing certificates in chain using certificate Authority Information Access (AIA) Extension.
-
Parameters
-
Retrieves missing certificates in chain using certificate Authority Information Access (AIA) Extension.
-
Returns
-
Retrieves missing certificates in chain using certificate Authority Information Access (AIA) Extension.
Implements iText.Signatures.IIssuingCertificateRetriever.
◆ RetrieveOCSPResponderCertificate()
Retrieves OCSP responder certificate either from the response certs or trusted store in case responder certificate isn't found in /Certs.
-
Parameters
-
ocspResp |
basic OCSP response to get responder certificate for |
-
Returns
-
retrieved OCSP responder certificate or null in case it wasn't found.
◆ SetTrustedCertificates()
virtual void iText.Signatures.IssuingCertificateRetriever.SetTrustedCertificates |
( |
ICollection< IX509Certificate > |
certificates |
) |
|
|
inlinevirtual |
Sets trusted certificate list to be used as certificates trusted for any possible usage.
Sets trusted certificate list to be used as certificates trusted for any possible usage. In case more specific trusted is desired to be configured GetTrustedCertificatesStore() method is expected to be used.
-
Parameters
-
certificates |
certificate list to be used as certificates trusted for any possible usage. |
Implements iText.Signatures.IIssuingCertificateRetriever.