Class InhibitAnyPolicy

java.lang.Object
eu.europa.esig.dss.model.x509.extension.CertificateExtension
eu.europa.esig.dss.model.x509.extension.InhibitAnyPolicy
All Implemented Interfaces:
OidBasedEnum, OidDescription, Serializable

public class InhibitAnyPolicy extends CertificateExtension
4.2.1.14. Inhibit anyPolicy The inhibit anyPolicy extension can be used in certificates issued to CAs. The inhibit anyPolicy extension indicates that the special anyPolicy OID, with the value { 2 5 29 32 0 }, is not considered an explicit match for other certificate policies except when it appears in an intermediate self-issued CA certificate.
See Also:
  • Constructor Details

    • InhibitAnyPolicy

      public InhibitAnyPolicy()
      Default constructor
  • Method Details

    • getValue

      public int getValue()
      Gets the InhibitAnyPolicy constraint value
      Returns:
      requireExplicitPolicy int value if present, -1 otherwise
    • setValue

      public void setValue(int value)
      Sets the InhibitAnyPolicy constraint value
      Parameters:
      value - int InhibitAnyPolicy value