OBJ_get0_data function

  1. @RecordUse.new()
  2. @Native<Pointer<Uint8> Function(Pointer<ASN1_OBJECT> obj)>(ffi.Pointer<ASN1_OBJECT>)>(symbol: 'bssl_dart_OBJ_get0_data')
Pointer<Uint8> OBJ_get0_data(
  1. Pointer<ASN1_OBJECT> obj
)

OBJ_get0_data returns a pointer to the DER representation of |obj|. This is the contents of the DER-encoded identifier, not including the tag and length. If |obj| does not have an associated object identifier (i.e. it is a nid-only value), this value is the empty string.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<ffi.Uint8> Function(ffi.Pointer<ASN1_OBJECT>)>(
  symbol: 'bssl_dart_OBJ_get0_data',
)
external ffi.Pointer<ffi.Uint8> OBJ_get0_data(
  ffi.Pointer<ASN1_OBJECT> obj,
);