BN_marshal_asn1 function
BN_marshal_asn1 marshals |bn| as a non-negative DER INTEGER and appends the result to |cbb|. It returns one on success and zero on failure.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<CBB>, ffi.Pointer<BIGNUM>)>(
symbol: 'bssl_dart_BN_marshal_asn1',
)
external int BN_marshal_asn1(
ffi.Pointer<CBB> cbb,
ffi.Pointer<BIGNUM> bn,
);