Skip to content
Version 6.1.0
Contact Us

BACnetStack_SCCertificateProvideSignedCertificate

bool BACnetStack_SCCertificateProvideSignedCertificate(
const uint32_t procedureId,
const uint8_t * certificate,
const uint32_t certificateLength);

Resumes a ReplaceOperational procedure that is waiting for its signed certificate (the SignCertificate step).

May be called from inside the sign-request callback or any time later; the procedure has no deadline while it waits, so a host that will never sign should call BACnetStack_SCCertificateCancel(). certificateLength 0 abandons the procedure: it reports Failed with BACnetSCCertificateProcedureFailure_SigningAbandoned.

Parameter Direction Description
procedureId in The procedure from BACnetStack_SCCertificateReplaceOperational() (also passed to the sign request).
certificate in The signed operational certificate, as the target’s operational certificate file must hold it.
certificateLength in The number of bytes in certificate; 0 abandons the procedure.

True when the certificate was accepted. False when procedureId is not waiting for a signed certificate.

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