public class PolicyConstraint
extends java.lang.Object
Constructor and Description |
---|
PolicyConstraint(CertificatePolicySet set,
int require,
int inhibit)
The default constructor for this object
|
PolicyConstraint(DerValue val)
Create the PolicyConstraint from the DerValue.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(DerOutputStream out)
Encode the object to the output stream.
|
java.lang.String |
toString()
Return user readable form of the object.
|
public PolicyConstraint(CertificatePolicySet set, int require, int inhibit)
set
- the CertificatePolicySet (null for optional).require
- require explicit policy (-1 for optional).inhibit
- inhibit policy mapping (-1 for optional).public PolicyConstraint(DerValue val) throws java.io.IOException
val
- the DerValue of the PolicyConstraint.java.io.IOException
- on decoding errors.public java.lang.String toString()
toString
in class java.lang.Object
public void encode(DerOutputStream out) throws java.io.IOException
out
- the DerOutputStream to encode the object to.java.io.IOException