Class CertificatePolicySet

java.lang.Object
org.mozilla.jss.netscape.security.x509.CertificatePolicySet

public class CertificatePolicySet extends Object
This class defines the certificate policy set ASN.1 object.
Version:
1.4
  • Field Details

  • Constructor Details

    • CertificatePolicySet

      public CertificatePolicySet(Vector<CertificatePolicyId> ids)
      The default constructor for this class.
      Parameters:
      ids - the sequence of CertificatePolicyId's.
    • CertificatePolicySet

      public CertificatePolicySet(DerInputStream in) throws IOException
      Create the object from the DerValue.
      Parameters:
      in - the passed DerInputStream.
      Throws:
      IOException - on decoding errors.
  • Method Details

    • toString

      public String toString()
      Return printable form of the object.
      Overrides:
      toString in class Object
    • encode

      public void encode(DerOutputStream out) throws IOException
      Encode the policy set to the output stream.
      Parameters:
      out - the DerOutputStream to encode the data to.
      Throws:
      IOException