i2d_BASIC_CONSTRAINTS function
i2d_BASIC_CONSTRAINTS marshals |bcons| as a DER-encoded BasicConstraints (RFC 5280), as described in |i2d_SAMPLE|.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<BASIC_CONSTRAINTS>,
ffi.Pointer<ffi.Pointer<ffi.Uint8>>,
)
>(symbol: 'bssl_dart_i2d_BASIC_CONSTRAINTS')
external int i2d_BASIC_CONSTRAINTS(
ffi.Pointer<BASIC_CONSTRAINTS> bcons,
ffi.Pointer<ffi.Pointer<ffi.Uint8>> outp,
);