X509_REQ_dup function

  1. @RecordUse.new()
  2. @Native<Pointer<X509_REQ> Function(Pointer<X509_REQ> req)>(ffi.Pointer<X509_REQ>)>(symbol: 'bssl_dart_X509_REQ_dup')
Pointer<X509_REQ> X509_REQ_dup(
  1. Pointer<X509_REQ> req
)

X509_REQ_dup returns a newly-allocated copy of req, or NULL on error. This function works by serializing the structure, so if req is incomplete, it may fail.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Pointer<X509_REQ> Function(ffi.Pointer<X509_REQ>)>(
  symbol: 'bssl_dart_X509_REQ_dup',
)
external ffi.Pointer<X509_REQ> X509_REQ_dup(
  ffi.Pointer<X509_REQ> req,
);