X509Request constructor

X509Request(
  1. Pointer<X509_REQ> ptr,
  2. OpenSSL _context
)

Implementation

X509Request(Pointer<X509_REQ> ptr, this._context) : super(ptr) {
  final freePtr = _context.lookup<Void Function(Pointer<X509_REQ>)>('X509_REQ_free');
  _finalizer = NativeFinalizer(freePtr.cast());
  _finalizer.attach(this, ptr.cast(), detach: this);
}