Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::PKey::DSAクラス > to_der
to_der -> String
自身を DER 形式に変換します。