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.


Constructor Index

 o PolicyConstraint(CertificatePolicySet, int, int)
The default constructor for this object
 o PolicyConstraint(DerValue)
Create the PolicyConstraint from the DerValue.

Method Index

 o encode(DerOutputStream)
Encode the object to the output stream.
 o toString()
Return user readable form of the object.

Constructors

 o 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).
 o 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.

Methods

 o toString
 public String toString()
Return user readable form of the object.

 o 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