Class PolicyQualifiers

java.lang.Object
org.mozilla.jss.netscape.security.x509.PolicyQualifiers
All Implemented Interfaces:
Serializable

public class PolicyQualifiers extends Object implements Serializable
Represent the PolicyQualifiers. policyQualifiers ::= SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo
See Also:
  • Field Details

  • Constructor Details

    • PolicyQualifiers

      public PolicyQualifiers()
      Create a PolicyQualifiers with the ObjectIdentifier.
    • PolicyQualifiers

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

    • add

      public void add(PolicyQualifierInfo info)
    • size

      public int size()
    • getInfoAt

      public PolicyQualifierInfo getInfoAt(int i)
    • toString

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

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