All Packages Class Hierarchy This Package Previous Next Index
Class netscape.security.x509.PolicyConstraint
netscape.security.x509.PolicyConstraint
- public class PolicyConstraint
This class defines the PolicyConstraint ASN.1 object.
-
PolicyConstraint(CertificatePolicySet, int, int)
- The default constructor for this object
-
PolicyConstraint(DerValue)
- Create the PolicyConstraint from the DerValue.
-
encode(DerOutputStream)
- Encode the object to the output stream.
-
toString()
- Return user readable form of the object.
PolicyConstraint
public PolicyConstraint(CertificatePolicySet set,
int require,
int inhibit)
- 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
public PolicyConstraint(DerValue val) throws IOException
- Create the PolicyConstraint from the DerValue.
- Parameters:
- val - the DerValue of the PolicyConstraint.
- Throws: IOException
- on decoding errors.
toString
public String toString()
- Return user readable form of the object.
encode
public void encode(DerOutputStream out) throws IOException
- Encode the object to the output stream.
- Parameters:
- out - the DerOutputStream to encode the object to.
All Packages Class Hierarchy This Package Previous Next Index