c2i_ASN1_OBJECT function
- @RecordUse.new()
- @Native<Pointer<
ASN1_OBJECT> Function(Pointer<Pointer< , Pointer<ASN1_OBJECT> >Pointer< , Long)>(ffi.Pointer<ffi.Pointer<ASN1_OBJECT>>, ffi.Pointer<ffi.Pointer<ffi.Uint8>>, ffi.Long)>(symbol: 'bssl_dart_c2i_ASN1_OBJECT')Uint8> >
c2i_ASN1_OBJECT decodes |len| bytes from |*inp| as the contents of a DER-encoded OBJECT IDENTIFIER, 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_OBJECT> Function(
ffi.Pointer<ffi.Pointer<ASN1_OBJECT>>,
ffi.Pointer<ffi.Pointer<ffi.Uint8>>,
ffi.Long,
)
>(symbol: 'bssl_dart_c2i_ASN1_OBJECT')
external ffi.Pointer<ASN1_OBJECT> c2i_ASN1_OBJECT(
ffi.Pointer<ffi.Pointer<ASN1_OBJECT>> out,
ffi.Pointer<ffi.Pointer<ffi.Uint8>> inp,
int len,
);