c2i_ASN1_BIT_STRING function
- @RecordUse.new()
- @Native<Pointer<
ASN1_OCTET_STRING> Function(Pointer<Pointer< , Pointer<ASN1_OCTET_STRING> >Pointer< , Long)>(ffi.Pointer<ffi.Pointer<ASN1_BIT_STRING>>, ffi.Pointer<ffi.Pointer<ffi.Uint8>>, ffi.Long)>(symbol: 'bssl_dart_c2i_ASN1_BIT_STRING')Uint8> >
c2i_ASN1_BIT_STRING decodes len bytes from *inp as the contents of a
DER-encoded BIT STRING, excluding the tag and length. It behaves like
d2i_SAMPLE except, on success, it always consumes all len bytes.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<ASN1_BIT_STRING> Function(
ffi.Pointer<ffi.Pointer<ASN1_BIT_STRING>>,
ffi.Pointer<ffi.Pointer<ffi.Uint8>>,
ffi.Long,
)
>(symbol: 'bssl_dart_c2i_ASN1_BIT_STRING')
external ffi.Pointer<ASN1_BIT_STRING> c2i_ASN1_BIT_STRING(
ffi.Pointer<ffi.Pointer<ASN1_BIT_STRING>> out,
ffi.Pointer<ffi.Pointer<ffi.Uint8>> inp,
int len,
);