RSA_get0_factors function

  1. @RecordUse.new()
  2. @Native<Void Function(Pointer<RSA>, Pointer<Pointer<BIGNUM>>, Pointer<Pointer<BIGNUM>>)>(ffi.Pointer<RSA>, ffi.Pointer<ffi.Pointer<BIGNUM>>, ffi.Pointer<ffi.Pointer<BIGNUM>>)>(symbol: 'bssl_dart_RSA_get0_factors')
void RSA_get0_factors(
  1. Pointer<RSA> rsa,
  2. Pointer<Pointer<BIGNUM>> out_p,
  3. Pointer<Pointer<BIGNUM>> out_q
)

RSA_get0_factors sets |*out_p| and |*out_q|, if non-NULL, to |rsa|'s prime factors. If |rsa| is a public key, they will be set to NULL.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<RSA>,
    ffi.Pointer<ffi.Pointer<BIGNUM>>,
    ffi.Pointer<ffi.Pointer<BIGNUM>>,
  )
>(symbol: 'bssl_dart_RSA_get0_factors')
external void RSA_get0_factors(
  ffi.Pointer<RSA> rsa,
  ffi.Pointer<ffi.Pointer<BIGNUM>> out_p,
  ffi.Pointer<ffi.Pointer<BIGNUM>> out_q,
);