d2i_ASN1_BMPSTRING function

  1. @RecordUse.new()
  2. @Native<Pointer<ASN1_OCTET_STRING> Function(Pointer<Pointer<ASN1_OCTET_STRING>>, Pointer<Pointer<Uint8>>, Long)>(ffi.Pointer<ffi.Pointer<ASN1_BMPSTRING>>, ffi.Pointer<ffi.Pointer<ffi.Uint8>>, ffi.Long)>(symbol: 'bssl_dart_d2i_ASN1_BMPSTRING')
Pointer<ASN1_OCTET_STRING> d2i_ASN1_BMPSTRING(
  1. Pointer<Pointer<ASN1_OCTET_STRING>> out,
  2. Pointer<Pointer<Uint8>> inp,
  3. int len
)

The following functions parse up to |len| bytes from |*inp| as a DER-encoded ASN.1 value of the corresponding type, as described in |d2i_SAMPLE|.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Pointer<ASN1_BMPSTRING> Function(
    ffi.Pointer<ffi.Pointer<ASN1_BMPSTRING>>,
    ffi.Pointer<ffi.Pointer<ffi.Uint8>>,
    ffi.Long,
  )
>(symbol: 'bssl_dart_d2i_ASN1_BMPSTRING')
external ffi.Pointer<ASN1_BMPSTRING> d2i_ASN1_BMPSTRING(
  ffi.Pointer<ffi.Pointer<ASN1_BMPSTRING>> out,
  ffi.Pointer<ffi.Pointer<ffi.Uint8>> inp,
  int len,
);