CBS_asn1_relative_oid_to_text function
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,
);