d2i_DISPLAYTEXT function
- @RecordUse.new()
- @Native<Pointer<
ASN1_OCTET_STRING> Function(Pointer<Pointer< , Pointer<ASN1_OCTET_STRING> >Pointer< , Long)>(ffi.Pointer<ffi.Pointer<ASN1_STRING>>, ffi.Pointer<ffi.Pointer<ffi.Uint8>>, ffi.Long)>(symbol: 'bssl_dart_d2i_DISPLAYTEXT')Uint8> >
d2i_DISPLAYTEXT parses up to |len| bytes from |*inp| as a DER-encoded X.509 DisplayText (RFC 5280), as described in |d2i_SAMPLE|.
TODO(https://crbug.com/boringssl/354): This function currently also accepts BER, but this will be removed in the future.
TODO(https://crbug.com/boringssl/449): DisplayText's size limits are not currently enforced.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<ASN1_STRING> Function(
ffi.Pointer<ffi.Pointer<ASN1_STRING>>,
ffi.Pointer<ffi.Pointer<ffi.Uint8>>,
ffi.Long,
)
>(symbol: 'bssl_dart_d2i_DISPLAYTEXT')
external ffi.Pointer<ASN1_STRING> d2i_DISPLAYTEXT(
ffi.Pointer<ffi.Pointer<ASN1_STRING>> out,
ffi.Pointer<ffi.Pointer<ffi.Uint8>> inp,
int len,
);