OBJ_length function

  1. @RecordUse.new()
  2. @Native<Size Function(Pointer<ASN1_OBJECT>)>(ffi.Pointer<ASN1_OBJECT>)>(symbol: 'bssl_dart_OBJ_length')
int OBJ_length(
  1. Pointer<ASN1_OBJECT> obj
)

OBJ_length returns the length of 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.Size Function(ffi.Pointer<ASN1_OBJECT>)>(
  symbol: 'bssl_dart_OBJ_length',
)
external int OBJ_length(
  ffi.Pointer<ASN1_OBJECT> obj,
);