CBB_add_asn1_element function
CBB_add_asn1_element adds an ASN.1 element with the specified tag and contents. It returns one on success and zero on error. This is a convenience function over |CBB_add_asn1| when the data is already available.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<CBB>,
CBS_ASN1_TAG,
ffi.Pointer<ffi.Uint8>,
ffi.Size,
)
>(symbol: 'bssl_dart_CBB_add_asn1_element')
external int CBB_add_asn1_element(
ffi.Pointer<CBB> cbb,
int tag,
ffi.Pointer<ffi.Uint8> data,
int data_len,
);