Start or continue a deferred CMP certificate request (pollReq flow).
Declared in <openssl/cmp.h>
int
OSSL_CMP_try_certreq(
OSSL_CMP_CTX* ctx,
int req_type,
OSSL_CRMF_MSG const* crm,
int* checkAfter);
1 if the certificate is ready, 0 if polling should continue, or -1 on error.
| Name | Description |
|---|---|
| ctx | CMP client context. |
| req_type | Body type (OSSL_CMP_IR, OSSL_CMP_CR, OSSL_CMP_KUR, or OSSL_CMP_P10CR). |
| crm | Optional CRMF message for IR/CR/KUR. |
| checkAfter | Receives server-suggested poll interval when the request is pending. |