Class SignatureValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.SignatureValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class SignatureValidationContext extends java.lang.Object implements IValidationContext
Class for signature validation context.
-
-
Field Summary
Fields Modifier and Type Field Description private PdfDictionary
sign
-
Constructor Summary
Constructors Constructor Description SignatureValidationContext(PdfDictionary sign)
Instantiates a newSignatureValidationContext
based on sign pdf dictionary.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfDictionary
getSignature()
Gets the sign pdf dictionary.ValidationType
getType()
Gets type of the context.
-
-
-
Field Detail
-
sign
private final PdfDictionary sign
-
-
Constructor Detail
-
SignatureValidationContext
public SignatureValidationContext(PdfDictionary sign)
Instantiates a newSignatureValidationContext
based on sign pdf dictionary.- Parameters:
sign
- the sign pdf dictionary
-
-
Method Detail
-
getSignature
public PdfDictionary getSignature()
Gets the sign pdf dictionary.- Returns:
- the sign pdf dictionary
-
getType
public ValidationType getType()
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-