BACnetStack_RegisterCallbackSCCertificateSignRequest
void BACnetStack_RegisterCallbackSCCertificateSignRequest( void (*FPCallbackSCCertificateSignRequest)(const uint32_t procedureId, const uint8_t *csr, const uint32_t csrLength));Registers the host’s CA hand-off for ReplaceOperational: called with the CSR the procedure read from the target.
The stack never holds the CA key. The csr buffer is only valid during the call; answer with BACnetStack_SCCertificateProvideSignedCertificate(procedureId, …), now or later.
See also: CASBACnetStack::FPCallbackSCCertificateSignRequest
Parameters
Section titled “Parameters”| Parameter | Direction | Description |
|---|---|---|
FPCallbackSCCertificateSignRequest |
in | The callback function pointer to register, or NULL to clear. |
Callback type
Section titled “Callback type”FPCallbackSCCertificateSignRequest
Topic: BACnet/SC. Declared in CASBACnetStackDLL.h.