C API for BALTECH SDK

§ brp_append_dev_ca_certs()

BRP_LIB brp_errcode brp_append_dev_ca_certs ( brp_protocol  protocol,
brp_buf  dev_ca_cert_chain,
size_t  dev_ca_cert_chain_len 
)

Adds certificate(s) to the devices CA certificate chain.

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

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

Parameters
protocolPKI protocol that shall be extended
dev_ca_cert_chainpointer to ASN.1 DER-enc. certificate(s) Multiple certificates can be added by simply / joining them
dev_ca_cert_chain_lenlength of dev_ca_cert_chain