Class PolicyQualifiers

  • All Implemented Interfaces:
    java.io.Serializable

    public class PolicyQualifiers
    extends java.lang.Object
    implements java.io.Serializable
    Represent the PolicyQualifiers. policyQualifiers ::= SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo
    Author:
    Thomas Kwan
    See Also:
    Serialized Form
    • Constructor Detail

      • PolicyQualifiers

        public PolicyQualifiers()
        Create a PolicyQualifiers with the ObjectIdentifier.
        Parameters:
        id - the ObjectIdentifier for the policy id.
      • PolicyQualifiers

        public PolicyQualifiers​(DerValue val)
                         throws java.io.IOException
        Create the object from its Der encoded value.
        Parameters:
        val - the DER encoded value for the same.
        Throws:
        java.io.IOException
    • Method Detail

      • size

        public int size()
      • toString

        public java.lang.String toString()
        Returns a printable representation of the CertificatePolicyId.
        Overrides:
        toString in class java.lang.Object
      • encode

        public void encode​(DerOutputStream out)
                    throws java.io.IOException
        Write the PolicyQualifiers to the DerOutputStream.
        Parameters:
        out - the DerOutputStream to write the object to.
        Throws:
        java.io.IOException - on errors.