Package com.itextpdf.signatures
Enum LtvVerification.CertificateOption
java.lang.Object
java.lang.Enum<LtvVerification.CertificateOption>
com.itextpdf.signatures.LtvVerification.CertificateOption
- All Implemented Interfaces:
-
Serializable
,Comparable<LtvVerification.CertificateOption>
,java.lang.constant.Constable
- Enclosing class:
- LtvVerification
public static enum LtvVerification.CertificateOption extends Enum<LtvVerification.CertificateOption>
Options for how many certificates to include.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInclude verification for the whole certificates chain, certificates used to create OCSP responses, CRL response certificates and timestamp certificates included in the signatures.Include verification just for the signing certificate.Include verification for the whole chain of certificates. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static LtvVerification.CertificateOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SIGNING_CERTIFICATE
Include verification just for the signing certificate. -
WHOLE_CHAIN
Include verification for the whole chain of certificates. -
ALL_CERTIFICATES
Include verification for the whole certificates chain, certificates used to create OCSP responses, CRL response certificates and timestamp certificates included in the signatures.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
-
name
- the name of the enum constant to be returned. - Returns:
- the enum constant with the specified name
- Throws:
-
IllegalArgumentException
- if this enum type has no constant with the specified name -
NullPointerException
- if the argument is null
-