C API for BALTECH SDK

§ brp_append_host_certs()

BRP_LIB brp_errcode brp_append_host_certs ( brp_protocol  protocol,
brp_buf  host_cert_chain,
size_t  host_cert_chain_len 
)

Adds certificate(s) to the host certificate chain.

This is a convenience function if the certificate cannot be set at once by the host_cert_chain parameter of the brp_create_pki() function.

If protocol is NULL, this function is a no-operation.

Parameters
protocolPKI protocol that shall be extended
host_cert_chainpointer to ASN.1 DER-encoded certificate(s) Multiple certificates can be added by simply joining them
host_cert_chain_lenlength of host_cert_chain