Class TrustConstraints
java.lang.Object
com.pdftools.internal.NativeBase
com.pdftools.internal.NativeObject
com.pdftools.signaturevalidation.profiles.TrustConstraints
Certificate trust constraints
-
Method Summary
Modifier and TypeMethodDescriptionWhether to check certificate revocation (Getter)Allowed sources for trusted certificates (Getter)voidWhether to check certificate revocation (Setter)voidsetTrustSources(EnumSet<DataSource> value) Allowed sources for trusted certificates (Setter)Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
Method Details
-
getTrustSources
Allowed sources for trusted certificates (Getter)
Note that the trust sources are implicitly added to the profile'sValidationOptions.getCertificateSources(). -
setTrustSources
Allowed sources for trusted certificates (Setter)
Note that the trust sources are implicitly added to the profile'sValidationOptions.getCertificateSources().- Throws:
IllegalArgumentException- ifvalueisnull
-
getRevocationCheckPolicy
Whether to check certificate revocation (Getter)
-
setRevocationCheckPolicy
Whether to check certificate revocation (Setter)
- Throws:
IllegalArgumentException- ifvalueisnull
-