The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Crypt::Keys::Private::RSA - RSA private key drivers

SYNOPSIS

This document describes the format of the key data returned from RSA private keyfile drivers.

DESCRIPTION

All Crypt::Keys::Private::RSA drivers (no matter the encoding) will return a data structure containing the same format. That structure will be a reference to a hash, containing a key Data; the value of the key Data is another hash reference, which contains the actual key data. This hash reference has the following keys:

  • n

  • e

  • d

  • p

  • q

    These fields should all be self-explanatory. They are standard parts of a private RSA key.

  • dp

    Equal to d mod (p-1).

  • dq

    Equal to d mod (q-1).

  • iqmp

    Equal to inverse of q mod p.

    These last three fields are used in the Chinese Remainder Theorem.

AUTHOR & COPYRIGHTS

Please see the Crypt::Keys manpage for author, copyright, and license information.