iText 8.0.5 API
|
Validation context class, which encapsulates specific context values, related to validation process. More...
Public Member Functions |
|
ValidationContext (ValidatorContext validatorContext, CertificateSource certificateSource, TimeBasedContext timeBasedContext) | |
Create ValidationContext instance using provided context values. More... |
|
virtual iText.Signatures.Validation.V1.Context.ValidationContext | GetPreviousValidationContext () |
Get previous validation context instance, from which this instance was created. More... |
|
virtual CertificateSource | GetCertificateSource () |
Get specific certificate source context value. More... |
|
virtual iText.Signatures.Validation.V1.Context.ValidationContext | SetCertificateSource (CertificateSource certificateSource) |
Create new ValidationContext instance with the provided certificate source context value. More... |
|
virtual TimeBasedContext | GetTimeBasedContext () |
Get specific time-based context value. More... |
|
virtual iText.Signatures.Validation.V1.Context.ValidationContext | SetTimeBasedContext (TimeBasedContext timeBasedContext) |
Create new ValidationContext instance with the provided certificate source context value. More... |
|
virtual ValidatorContext | GetValidatorContext () |
Get specific validator context value. More... |
|
virtual iText.Signatures.Validation.V1.Context.ValidationContext | SetValidatorContext (ValidatorContext validatorContext) |
Create new ValidationContext instance with the provided certificate source context value. More... |
|
override String | ToString () |
Return string representation of this ValidationContext. More... |
|
override bool | Equals (Object o) |
Check if the provided object is equal to this one. More... |
|
override int | GetHashCode () |
Return a hash code value for this validation context. More... |
|
Static Public Member Functions |
|
static bool | CheckIfContextChainContainsCertificateSource (iText.Signatures.Validation.V1.Context.ValidationContext context, CertificateSource source) |
Check if validation contexts chain contains specific CertificateSource value. More... |
|
Validation context class, which encapsulates specific context values, related to validation process.
|
inline |
Create ValidationContext instance using provided context values.
validatorContext |
ValidatorContext value
certificateSource |
CertificateSource value
timeBasedContext |
TimeBasedContext value
|
inlinestatic |
Check if validation contexts chain contains specific CertificateSource value.
context |
ValidationContext instance to start the check from
source |
CertificateSource value to check
true
if validation contexts chain contains provided certificate source, false
otherwise
|
inline |
Check if the provided object is equal to this one.
Check if the provided object is equal to this one. Previous validation context field is not taken into account during this comparison.
o | the reference object with which to compare |
true
if provided object is equal to this one, false
otherwise
|
inlinevirtual |
Get specific certificate source context value.
CertificateSource context value
|
inline |
Return a hash code value for this validation context.
Return a hash code value for this validation context. Previous validation context field is not taken into account during hash code calculation.
|
inlinevirtual |
Get previous validation context instance, from which this instance was created.
|
inlinevirtual |
Get specific time-based context value.
TimeBasedContext context value
|
inlinevirtual |
Get specific validator context value.
ValidatorContext context value
|
inlinevirtual |
Create new ValidationContext instance with the provided certificate source context value.
certificateSource |
CertificateSource value
|
inlinevirtual |
Create new ValidationContext instance with the provided certificate source context value.
timeBasedContext |
TimeBasedContext value
|
inlinevirtual |
Create new ValidationContext instance with the provided certificate source context value.
validatorContext |
ValidatorContext value
|
inline |
Return string representation of this ValidationContext.
Return string representation of this ValidationContext. Previous validation context is not a part of this representation.