Class PolicyConstraint
java.lang.Object
org.mozilla.jss.netscape.security.x509.PolicyConstraint
This class defines the PolicyConstraint ASN.1 object.
-
Constructor Summary
ConstructorsConstructorDescriptionPolicyConstraint(DerValue val) Create the PolicyConstraint from the DerValue.PolicyConstraint(CertificatePolicySet set, int require, int inhibit) The default constructor for this object -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(DerOutputStream out) Encode the object to the output stream.toString()Return user readable form of the object.
-
Constructor Details
-
PolicyConstraint
The default constructor for this object- Parameters:
set- the CertificatePolicySet (null for optional).require- require explicit policy (-1 for optional).inhibit- inhibit policy mapping (-1 for optional).
-
PolicyConstraint
Create the PolicyConstraint from the DerValue.- Parameters:
val- the DerValue of the PolicyConstraint.- Throws:
IOException- on decoding errors.
-
-
Method Details
-
toString
Return user readable form of the object. -
encode
Encode the object to the output stream.- Parameters:
out- the DerOutputStream to encode the object to.- Throws:
IOException
-