Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::PKey::RSA#set_crt_params
(::OpenSSL::bn dmp1, ::OpenSSL::bn dmq1, ::OpenSSL::bn iqmp) -> self
rsa.set_crt_params(dmp1, dmq1, iqmp) → self
ext/openssl/ossl_pkey_rsa.c
View on GitHub ↗
Sets dmp1, dmq1, iqmp for the RSA instance. They are calculated by d mod (p - 1), d mod (q - 1) and q^(-1) mod p respectively.
See also
#public_key
#set_factors
#public_encrypt
#set_key
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0