com.ibm.as400.access

Class AS400Certificate

    • 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 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(String information)
        Sets the free form string information.
        Parameters:
        information - The free form information.