toDataItem
Encodes the certificate chain as CBOR.
If the chain has only one item a Bstr with the sole certificate is returned. Otherwise an array of Bstr is returned.
Use fromDataItem to decode the returned data item.
Encodes the certificate chain as CBOR.
If the chain has only one item a Bstr with the sole certificate is returned. Otherwise an array of Bstr is returned.
Use fromDataItem to decode the returned data item.