ASN1_STRING_get0_data function
- @RecordUse.new()
- @Native<Pointer<
UnsignedChar> Function(Pointer<ASN1_OCTET_STRING> str)>(ffi.Pointer<ASN1_STRING>)>(symbol: 'bssl_dart_ASN1_STRING_get0_data')
- Pointer<
ASN1_OCTET_STRING> str
ASN1_STRING_get0_data returns a pointer to str's contents. Callers should
use ASN1_STRING_length to determine the length of the string. The string
may have embedded NUL bytes and may not be NUL-terminated.
The contents of an ASN1_STRING encode the value in some type-specific
representation that does not always correspond to the DER encoding of the
type. See the documentation for ASN1_STRING for details.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Pointer<ffi.UnsignedChar> Function(ffi.Pointer<ASN1_STRING>)>(
symbol: 'bssl_dart_ASN1_STRING_get0_data',
)
external ffi.Pointer<ffi.UnsignedChar> ASN1_STRING_get0_data(
ffi.Pointer<ASN1_STRING> str,
);