BALTECH Docs |
C API for BALTECH SDK
|
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.
protocol | PKI protocol that shall be extended |
dev_ca_cert_chain | pointer to ASN.1 DER-enc. certificate(s) Multiple certificates can be added by simply / joining them |
dev_ca_cert_chain_len | length of dev_ca_cert_chain |