class JWT::JWK::RSA

def append_private_parts(the_hash)

def append_private_parts(the_hash)
  the_hash.merge(
    d: encode_open_ssl_bn(keypair.d),
    p: encode_open_ssl_bn(keypair.p),
    q: encode_open_ssl_bn(keypair.q),
    dp: encode_open_ssl_bn(keypair.dmp1),
    dq: encode_open_ssl_bn(keypair.dmq1),
    qi: encode_open_ssl_bn(keypair.iqmp)
  )
end