Skip to content
Version 6.1.0
Contact Us

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

Parameter Direction Description
FPCallbackSCCertificateSignRequest in The callback function pointer to register, or NULL to clear.

FPCallbackSCCertificateSignRequest

Topic: BACnet/SC. Declared in CASBACnetStackDLL.h.