End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::PKey::RSA#set_crt_params
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.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0