Class CertificatePolicySet
- java.lang.Object
-
- org.mozilla.jss.netscape.security.x509.CertificatePolicySet
-
public class CertificatePolicySet extends java.lang.ObjectThis class defines the certificate policy set ASN.1 object.
-
-
Constructor Summary
Constructors Constructor Description CertificatePolicySet(java.util.Vector<CertificatePolicyId> ids)The default constructor for this class.CertificatePolicySet(DerInputStream in)Create the object from the DerValue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(DerOutputStream out)Encode the policy set to the output stream.java.lang.StringtoString()Return printable form of the object.
-
-
-
Constructor Detail
-
CertificatePolicySet
public CertificatePolicySet(java.util.Vector<CertificatePolicyId> ids)
The default constructor for this class.- Parameters:
ids- the sequence of CertificatePolicyId's.
-
CertificatePolicySet
public CertificatePolicySet(DerInputStream in) throws java.io.IOException
Create the object from the DerValue.- Parameters:
in- the passed DerInputStream.- Throws:
java.io.IOException- on decoding errors.
-
-
Method Detail
-
toString
public java.lang.String toString()
Return printable form of the object.- Overrides:
toStringin classjava.lang.Object
-
encode
public void encode(DerOutputStream out) throws java.io.IOException
Encode the policy set to the output stream.- Parameters:
out- the DerOutputStream to encode the data to.- Throws:
java.io.IOException
-
-