Class TrustConstraints


  • public class TrustConstraints
    extends NativeObject

    Certificate trust constraints

    • Method Detail

      • 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's ValidationOptions.getCertificateSources().
        Throws:
        java.lang.IllegalArgumentException - if value is null
      • 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 - if value is null