RSA_get0_key function
RSA_get0_key sets |*out_n|, |*out_e|, and |*out_d|, if non-NULL, to |rsa|'s modulus, public exponent, and private exponent, respectively. If |rsa| is a public key, the private exponent 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>>,
ffi.Pointer<ffi.Pointer<BIGNUM>>,
)
>(symbol: 'bssl_dart_RSA_get0_key')
external void RSA_get0_key(
ffi.Pointer<RSA> rsa,
ffi.Pointer<ffi.Pointer<BIGNUM>> out_n,
ffi.Pointer<ffi.Pointer<BIGNUM>> out_e,
ffi.Pointer<ffi.Pointer<BIGNUM>> out_d,
);