Class CertificatePolicySet


  • public class CertificatePolicySet
    extends java.lang.Object
    This class defines the certificate policy set ASN.1 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:
        toString in class java.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