DSA_get0_key function

  1. @RecordUse.new()
  2. @Native<Void Function(Pointer<DSA>, Pointer<Pointer<BIGNUM>>, Pointer<Pointer<BIGNUM>>)>(ffi.Pointer<DSA>, ffi.Pointer<ffi.Pointer<BIGNUM>>, ffi.Pointer<ffi.Pointer<BIGNUM>>)>(symbol: 'bssl_dart_DSA_get0_key')
void DSA_get0_key(
  1. Pointer<DSA> dsa,
  2. Pointer<Pointer<BIGNUM>> out_pub_key,
  3. Pointer<Pointer<BIGNUM>> out_priv_key
)

DSA_get0_key sets |*out_pub_key| and |*out_priv_key|, if non-NULL, to |dsa|'s public and private key, respectively. If |dsa| is a public key, the private key will be set to NULL.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<DSA>,
    ffi.Pointer<ffi.Pointer<BIGNUM>>,
    ffi.Pointer<ffi.Pointer<BIGNUM>>,
  )
>(symbol: 'bssl_dart_DSA_get0_key')
external void DSA_get0_key(
  ffi.Pointer<DSA> dsa,
  ffi.Pointer<ffi.Pointer<BIGNUM>> out_pub_key,
  ffi.Pointer<ffi.Pointer<BIGNUM>> out_priv_key,
);