iText 9.0.0 API
|
IIssuingCertificateRetriever default implementation. More...
Public Member Functions |
|
IssuingCertificateRetriever () | |
Creates IssuingCertificateRetriever instance. More... |
|
virtual IX509Certificate[] | RetrieveMissingCertificates (IX509Certificate[] chain) |
Retrieves missing certificates in chain using certificate Authority Information Access (AIA) Extension. More... |
|
virtual IList< IX509Certificate[]> | BuildCertificateChains (IX509Certificate certificate) |
This method tries to rebuild certificate issuer chain. More... |
|
virtual IList< IX509Certificate[]> | BuildCertificateChains (IX509Certificate[] certificate) |
This method tries to rebuild certificate issuer chain. More... |
|
virtual IList< IX509Certificate > | RetrieveIssuerCertificate (IX509Certificate certificate) |
Retrieve issuer certificate for the provided certificate. More... |
|
virtual ICollection< IX509Certificate > | RetrieveOCSPResponderByNameCertificate (IBasicOcspResponse ocspResp) |
Retrieves OCSP responder certificate candidates either from the response certs or trusted store in case responder certificate isn't found in /Certs. More... |
|
virtual IX509Certificate[] | GetCrlIssuerCertificates (IX509Crl crl) |
Retrieves the certificate chain for the certificate that should be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates. More... |
|
virtual IX509Certificate[][] | GetCrlIssuerCertificatesByName (IX509Crl crl) |
Retrieves the certificate chaind for the certificates that could be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates. More... |
|
virtual void | SetTrustedCertificates (ICollection< IX509Certificate > certificates) |
Sets trusted certificate list to be used as certificates trusted for any possible usage. More... |
|
virtual void | AddTrustedCertificates (ICollection< IX509Certificate > certificates) |
Add trusted certificates collection to trusted certificates storage. More... |
|
virtual void | AddKnownCertificates (ICollection< IX509Certificate > certificates) |
Add certificates collection to known certificates storage, which is used for issuer certificates retrieval. More... |
|
virtual TrustedCertificatesStore | GetTrustedCertificatesStore () |
Gets iText.Signatures.Validation.TrustedCertificatesStore to be used to provide more complex trusted certificates configuration. More... |
|
virtual bool | IsCertificateTrusted (IX509Certificate certificate) |
Check if provided certificate is present in trusted certificates storage. More... |
|
Package Functions |
|
virtual Stream | GetIssuerCertByURI (String uri) |
Get CA issuers certificates represented as System.IO.Stream. More... |
|
virtual ICollection< IX509Certificate > | ParseCertificates (Stream certsData) |
Parses certificates represented as byte array. More... |
|
IIssuingCertificateRetriever default implementation.
|
inline |
Creates IssuingCertificateRetriever instance.
|
inlinevirtual |
Add certificates collection to known certificates storage, which is used for issuer certificates retrieval.
certificates | certificates System.Collections.ICollection |
|
inlinevirtual |
Add trusted certificates collection to trusted certificates storage.
certificates | certificates System.Collections.ICollection |
|
inlinevirtual |
This method tries to rebuild certificate issuer chain.
This method tries to rebuild certificate issuer chain. The result contains all possible chains starting with the given certificate based on issuer names and public keys.
certificate |
iText.Commons.Bouncycastle.Cert.IX509Certificate for which issuer chains shall be built
|
inlinevirtual |
This method tries to rebuild certificate issuer chain.
This method tries to rebuild certificate issuer chain. The result contains all possible chains starting with the given certificate array based on issuer names and public keys.
certificate |
iText.Commons.Bouncycastle.Cert.IX509Certificate array for which issuer chains shall be built
|
inlinevirtual |
Retrieves the certificate chain for the certificate that should be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates.
crl |
Retrieves the certificate chain for the certificate that should be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates.
Retrieves the certificate chain for the certificate that should be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates.
Implements iText.Signatures.IIssuingCertificateRetriever.
|
inlinevirtual |
Retrieves the certificate chaind for the certificates that could be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates.
crl |
Retrieves the certificate chaind for the certificates that could be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates.
Retrieves the certificate chaind for the certificates that could be used to verify the signature on the CRL response using CRL Authority Information Access (AIA) Extension and known certificates.
Implements iText.Signatures.IIssuingCertificateRetriever.
|
inlinepackagevirtual |
Get CA issuers certificates represented as System.IO.Stream.
uri |
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.
|
inlinevirtual |
Gets iText.Signatures.Validation.TrustedCertificatesStore to be used to provide more complex trusted certificates configuration.
iText.Signatures.Validation.TrustedCertificatesStore storage
|
inlinevirtual |
Check if provided certificate is present in trusted certificates storage.
certificate |
iText.Commons.Bouncycastle.Cert.IX509Certificate to be checked
true
if certificate is present in trusted certificates storage, false
otherwise
|
inlinepackagevirtual |
Parses certificates represented as byte array.
certsData | stream which contains one or more X509 certificates. |
|
inlinevirtual |
Retrieve issuer certificate for the provided certificate.
certificate |
iText.Commons.Bouncycastle.Cert.IX509Certificate for which issuer certificate shall be retrieved
null
if there is no issuer certificate, or it cannot be retrieved.
|
inlinevirtual |
Retrieves missing certificates in chain using certificate Authority Information Access (AIA) Extension.
chain |
Retrieves missing certificates in chain using certificate Authority Information Access (AIA) Extension.
Retrieves missing certificates in chain using certificate Authority Information Access (AIA) Extension.
Implements iText.Signatures.IIssuingCertificateRetriever.
|
inlinevirtual |
Retrieves OCSP responder certificate candidates either from the response certs or trusted store in case responder certificate isn't found in /Certs.
ocspResp | basic OCSP response to get responder certificate for |
|
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.
certificates | certificate list to be used as certificates trusted for any possible usage. |
Implements iText.Signatures.IIssuingCertificateRetriever.