preGenReqRenew method
public int preGenReqRenew(java.lang.String domain,
com.ibm.pki.rpkiserv.CertPlist plist,
java.lang.String serialnum)
throws UserExitException
Purpose
Called before GENRENEW or REQRENEW requests
Parameters
- domain
- Domain name
- plist
- CertPlist with input parameters for renew request, whose values
can be modified by this methodNote: Most values for a certificate renewal are taken from the existing certificate and therefore are not in the certPlist. The following values can occur in the certPlist:
- CertPlist.CERTPLIST_NOTIFYEMAIL
- CertPlist.CERTPLIST_PASSPHRASE
- CertPlist.CERTPLIST_NOTAFTER
- CertPlist.CERTPLIST_CERTPOLICIES
- CertPlist.CERTPLIST_AUTHINFOACC
- CertPlist.CERTPLIST_CRITICAL
- serialnum
- Serial number of certificate being renewed
returns
- Value
- Meaning
- 0 (UserExit.SUCCESSFUL)
- Continue with the request.
- 4 (UserExit.CHANGE_APPROVAL_STATUS)
- If the renewal request required administrator approval, change it to not require administrator approval (a GENRENEW). If the certificate request did not require administrator approval (a GENRENEW), change it to require administrator approval (a REQRENEW).
- 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 |