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