preGenReqCert method
public int preGenReqCert(java.lang.String domain,
com.ibm.pki.rpkiserv.CertPlist plist,
java.lang.String[] security)
throws UserExitException
Purpose
Called before GENCERT or REQCERT requests.
Parameters
- domain
- domain name
- plist
- CertPlist with input parameters for GENCERT or REQCERT processing whose values can be modified by this method
- security
- An array of responses to security questions. These correspond to form fields with names security1, security2, and so forth, in ascending numerical order.
returns
- Value
- Meaning
- 0 (UserExit.SUCCESSFUL)
- Continue with the request.
- 4 (UserExit.CHANGE_APPROVAL_STATUS)
- If the certificate request required administrator approval, change it to not require administrator approval (a GENCERT). If the certificate request did not require administrator approval (a GENCERT), change it to require administrator approval (a REQCERT).
- 8 (UserExit.DENY_REQUEST) or greater
- Deny the request.
throws
Exception | Result |
---|---|
UserExitException | Handled the same as a return value of 8, and exception text is displayed on the resulting web page |