Generated by
JDiff

com.itextpdf.signatures.validation.v1 Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.signatures.validation.v1 as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class CRLValidator, void validate(ValidationReport, ValidationContext, X509Certificate, X509CRL, Date)

Validates a certificate against Certificate Revocation List (CRL) Responses. @param report to store all the chain verification results @param context the context in which to perform the validation @param certificate the certificate to check against CRL response @param crl the crl response to be validated @param validationDate validation date to check for for @deprecated starting from 8.0.5. TODO DEVSIX-8398 To be removed.

Class CertificateChainValidator, CertificateChainValidator addCrlClient(ICrlClient)

Add ICrlClient to be used for CRL responses receiving. @param crlClient ICrlClient to be used for CRL responses receiving @return same instance of CertificateChainValidator. @deprecated in favour of either SignatureValidationProperties.addCrlClient or RevocationDataValidator.addCrlClient. TODO DEVSIX-8398 To be removed.
Class CertificateChainValidator, CertificateChainValidator addOcspClient(IOcspClient)

Add IOcspClient to be used for OCSP responses receiving. @param ocpsClient IOcspClient to be used for OCSP responses receiving @return same instance of CertificateChainValidator. @deprecated in favour of either SignatureValidationProperties.addOcspClient or RevocationDataValidator.addOcspClient. TODO DEVSIX-8398 To be removed.
Class CertificateChainValidator, ValidationReport validate(ValidationReport, ValidationContext, X509Certificate, Date)

Validate given certificate using provided validation date and required extensions. Result is added into provided report. @param result ValidationReport which is populated with detailed validation results @param context the context in which to perform the validation @param certificate X509Certificate to be validated @param validationDate Date against which certificate is expected to be validated. Usually signing date @return ValidationReport which contains both provided and new validation results.
Class CertificateChainValidator, ValidationReport validateCertificate(ValidationContext, X509Certificate, Date)

Validate given certificate using provided validation date and required extensions. @param context the validation context in which to validate the certificate chain @param certificate X509Certificate to be validated @param validationDate Date against which certificate is expected to be validated. Usually signing date @return ValidationReport which contains detailed validation results.

Class OCSPValidator, void validate(ValidationReport, ValidationContext, X509Certificate, ISingleResp, IBasicOCSPResp, Date)

Validates a certificate against single OCSP Response. @param report to store all the chain verification results @param context the context in which to perform the validation @param certificate the certificate to check for @param singleResp single response to check @param ocspResp basic OCSP response which contains single response to check @param validationDate validation date to check for for @deprecated starting from 8.0.5. TODO DEVSIX-8398 To be removed.

Class SignatureValidationProperties, SignatureValidationProperties setContinueAfterFailure(ValidatorContexts, CertificateSources, boolean)

Sets the Continue after failure setting for the provided context.

This parameter specifies if validation is expected to continue after first failure is encountered. Only ValidationResult.INVALID is considered to be a failure. @param validatorContexts the validators for which to set the Continue after failure setting @param certificateSources the certificateSources for which to set the Continue after failure setting @param value the Continue after failure setting @return this same SignatureValidationProperties instance.

Class SignatureValidationProperties, SignatureValidationProperties setFreshness(ValidatorContexts, CertificateSources, TimeBasedContexts, Duration)

Sets the freshness setting for the specified validator, time based and certificate source contexts in milliseconds.

This parameter specifies how old revocation data can be, compared to validation time, in order to be trustworthy. @param validatorContexts the validators for which to apply the setting @param certificateSources the certificate sources to @param timeBasedContexts the date comparison context for which to apply the setting @param value the settings value in milliseconds @return this same SignatureValidationProperties instance.


Class ValidatorChainBuilder

A builder class to construct all necessary parts of a validation chain chain. The builder can be reused to create multiple instances of a validator.
Class ValidatorChainBuilder, CRLValidator buildCRLValidator()

Create a new CRLValidator instance. This method can be used to create multiple validators. @return a new instance of a CRLValidator.
Class ValidatorChainBuilder, CertificateChainValidator buildCertificateChainValidator()

Create a new CertificateChainValidator instance. This method can be used to create multiple validators. @return a new instance of a CertificateChainValidator.
Class ValidatorChainBuilder, OCSPValidator buildOCSPValidator()

Create a new OCSPValidator instance. This method can be used to create multiple validators. @return a new instance of a OCSPValidator.
Class ValidatorChainBuilder, RevocationDataValidator buildRevocationDataValidator()

Create a new RevocationDataValidator instance This method can be used to create multiple validators. @return a new instance of a RevocationDataValidator.
Class ValidatorChainBuilder, IssuingCertificateRetriever getCertificateRetriever()

Retrieves the explicitly added or automatically created IssuingCertificateRetriever instance. @return the explicitly added or automatically created IssuingCertificateRetriever instance.
Class ValidatorChainBuilder, SignatureValidationProperties getProperties()

Retrieves the explicitly added or automatically created SignatureValidationProperties instance. @return the explicitly added or automatically created SignatureValidationProperties instance.
Class ValidatorChainBuilder, ValidatorChainBuilder withCRLValidator(CRLValidator)

Use this instance of a CRLValidator in the validation chain. @param crlValidator the CRLValidator instance to use @return the current ValidatorChainBuilder.
Class ValidatorChainBuilder, ValidatorChainBuilder withCertificateChainValidator(CertificateChainValidator)

Use this instance of a CertificateChainValidator in the validation chain. @param certificateChainValidator the CertificateChainValidator instance to use @return the current ValidatorChainBuilder.
Class ValidatorChainBuilder, ValidatorChainBuilder withIssuingCertificateRetriever(IssuingCertificateRetriever)

Use this instance of a IssuingCertificateRetriever in the validation chain. @param certificateRetriever the IssuingCertificateRetriever instance to use @return the current ValidatorChainBuilder.
Class ValidatorChainBuilder, ValidatorChainBuilder withKnownCertificates(Collection)

Adds known certificates to the IssuingCertificateRetriever. @param knownCertificates the list of known certificates to add @return the current ValidatorChainBuilder.
Class ValidatorChainBuilder, ValidatorChainBuilder withOCSPValidator(OCSPValidator)

Use this instance of a OCSPValidator in the validation chain. @param ocspValidator the OCSPValidator instance to use @return the current ValidatorChainBuilder.
Class ValidatorChainBuilder, ValidatorChainBuilder withRevocationDataValidator(RevocationDataValidator)

Use this instance of a RevocationDataValidator in the validation chain. @param revocationDataValidator the RevocationDataValidator instance to use @return the current ValidatorChainBuilder.
Class ValidatorChainBuilder, ValidatorChainBuilder withSignatureValidationProperties(SignatureValidationProperties)

Use this instance of a SignatureValidationProperties in the validation chain. @param properties the SignatureValidationProperties instance to use @return the current ValidatorChainBuilder.
Class ValidatorChainBuilder, ValidatorChainBuilder withTrustedCertificates(Collection)

Sets the trusted certificates to the IssuingCertificateRetriever. @param trustedCertificates the list of trusted certificates to set @return the current ValidatorChainBuilder.