Class PolicyQualifierInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class PolicyQualifierInfo
    extends java.lang.Object
    implements java.io.Serializable
    Represent the PolicyQualifierInfo. policyQualifierInfo ::= SEQUENCE { policyQualifierId PolicyQualifierId qualifier ANY DEFINED BY policyQualifierId }
    See Also:
    Serialized Form
    • Field Detail

      • OID_CPS

        public static final int[] OID_CPS
      • OID_UNOTICE

        public static final int[] OID_UNOTICE
    • Constructor Detail

      • PolicyQualifierInfo

        public PolicyQualifierInfo​(ObjectIdentifier id,
                                   Qualifier qualifier)
        Create a PolicyQualifierInfo
        Parameters:
        id - the ObjectIdentifier for the policy id.
      • PolicyQualifierInfo

        public PolicyQualifierInfo​(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

      • getQualifier

        public Qualifier getQualifier()
        Returns object of type CPSuri or UserNotice.
      • 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 PolicyQualifier to the DerOutputStream.
        Parameters:
        out - the DerOutputStream to write the object to.
        Throws:
        java.io.IOException - on errors.