The com.ibm.mq.ipt.exit.CertificateExitResponse class

This class is used to pass information back to MQIPT after a certificate has been validated.


Constructors

    public CertificateExitResponse(int rc, string message)
    This constructor can be used to pass back a return code, and some message text. Possible reason codes are

    • ExitRc.OK
    • ExitRc.VALIDATE_ERROR
    • ExitRc.VALIDATE_REJECTED

    public CertificateExitResponse(int rc)
    This constructor can be used to pass back a return code, with no message text. Possible reason codes are

    • ExitRc.OK
    • ExitRc.VALIDATE_ERROR
    • ExitRc.VALIDATE_REJECTED

    public CertificateExitResponse()

    This constructor can be used to pass back return code ExitRc.OK, with no message text.


Methods

    public String getVersion()

    This method returns the version of this class.

    public String toString

    This method will return a string representation of the response, for example, "Reason code: 4, Message: Failed CRL check.

Parent topic: Certificate exit