CBS_asn1_relative_oid_to_text function

  1. @RecordUse.new()
  2. @Native<Pointer<Char> Function(Pointer<CBS> cbs)>(ffi.Pointer<CBS>)>(symbol: 'bssl_dart_CBS_asn1_relative_oid_to_text')
Pointer<Char> CBS_asn1_relative_oid_to_text(
  1. Pointer<CBS> cbs
)

CBS_asn1_relative_oid_to_text interprets |cbs| as DER-encoded ASN.1 RELATIVE-OID contents (not including the element framing) and returns the ASCII representation (e.g., "32473.1") in a newly-allocated string, or NULL on failure. The caller must release the result with |OPENSSL_free|.

This function may fail if |cbs| is an invalid RELATIVE-OID, or if any OID components are too large.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<ffi.Char> Function(ffi.Pointer<CBS>)>(
  symbol: 'bssl_dart_CBS_asn1_relative_oid_to_text',
)
external ffi.Pointer<ffi.Char> CBS_asn1_relative_oid_to_text(
  ffi.Pointer<CBS> cbs,
);