Class CryptoValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.CryptoValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class CryptoValidationContext extends java.lang.Object implements IValidationContext
Class for crypto validation.
-
-
Constructor Summary
Constructors Constructor Description CryptoValidationContext(PdfObject crypto)
Instantiates a newCryptoValidationContext
based on crypto object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfObject
getCrypto()
Gets the crypto object.ValidationType
getType()
Gets type of the context.
-
-
-
Field Detail
-
crypto
private final PdfObject crypto
-
-
Constructor Detail
-
CryptoValidationContext
public CryptoValidationContext(PdfObject crypto)
Instantiates a newCryptoValidationContext
based on crypto object.- Parameters:
crypto
- the crypto object
-
-
Method Detail
-
getCrypto
public PdfObject getCrypto()
Gets the crypto object.- Returns:
- the crypto object
-
getType
public ValidationType getType()
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-