com.ibm.as400.access

Class AS400Certificate

  • java.lang.Object
    • com.ibm.as400.access.AS400Certificate
  • All Implemented Interfaces:
    java.io.Serializable


    public class AS400Certificate
    extends java.lang.Object
    implements java.io.Serializable

    The AS400Certificate class represents an X.509 ASN.1 encoded certificate.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      AS400Certificate()
      Constructs an AS400Certificate object.
      AS400Certificate(byte[] certificate)
      Constructs an AS400Certificate object.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      byte[] getByteInfo()
      Returns the free form byte data.
      byte[] getEncoded()
      Returns the ASN.1 encoded certificate value.
      java.lang.String getInfo()
      Returns the free form information.
      void setByteInfo(byte[] byteData)
      Sets the free form byte data.
      void setEncoded(byte[] certificate)
      Sets the ASN.1 encoded certificate value.
      void setInfo(java.lang.String information)
      Sets the free form string information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AS400Certificate

        public AS400Certificate()
        Constructs an AS400Certificate object.
      • AS400Certificate

        public AS400Certificate(byte[] certificate)
        Constructs an AS400Certificate object.
        Parameters:
        certificate - The ASN.1 encoded X.509 certificate.
    • Method Detail

      • getByteInfo

        public byte[] getByteInfo()
        Returns the free form byte data.
        Returns:
        A byte array with free form information.
      • getEncoded

        public byte[] getEncoded()
        Returns the ASN.1 encoded certificate value.
        Returns:
        The ASN.1 encoded X.509 certificate.
      • getInfo

        public java.lang.String getInfo()
        Returns the free form information.
        Returns:
        The free form string information.
      • setByteInfo

        public void setByteInfo(byte[] byteData)
        Sets the free form byte data.
        Parameters:
        byteData - The free form byte array information.
      • setEncoded

        public void setEncoded(byte[] certificate)
        Sets the ASN.1 encoded certificate value.
        Parameters:
        certificate - The ASN.1 encoded certificate.
      • setInfo

        public void setInfo(java.lang.String information)
        Sets the free form string information.
        Parameters:
        information - The free form information.