Class CertificateStatus


  • public class CertificateStatus
    extends java.lang.Object
    • Field Detail

      • statusType

        protected short statusType
      • response

        protected java.lang.Object response
    • Constructor Detail

      • CertificateStatus

        public CertificateStatus​(short statusType,
                                 java.lang.Object response)
    • Method Detail

      • getStatusType

        public short getStatusType()
      • getResponse

        public java.lang.Object getResponse()
      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Encode this CertificateStatus to an OutputStream.
        Parameters:
        output - the OutputStream to encode to.
        Throws:
        java.io.IOException
      • parse

        public static CertificateStatus parse​(java.io.InputStream input)
                                       throws java.io.IOException
        Parse a CertificateStatus from an InputStream.
        Parameters:
        input - the InputStream to parse from.
        Returns:
        a CertificateStatus object.
        Throws:
        java.io.IOException
      • isCorrectType

        protected static boolean isCorrectType​(short statusType,
                                               java.lang.Object response)