Documentation Archive Developer
Search
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



RSA_size(3)                         OpenSSL                        RSA_size(3)



NAME
       RSA_size - get RSA modulus size

SYNOPSIS
        #include <openssl/rsa.h>

        int RSA_size(const RSA *rsa);

DESCRIPTION
       This function returns the RSA modulus size in bytes. It can be used to
       determine how much memory must be allocated for an RSA encrypted value.

       rsa->n must not be NULL.

RETURN VALUE
       The size in bytes.

SEE ALSO
       rsa(3)

HISTORY
       RSA_size() is available in all versions of SSLeay and OpenSSL.



0.9.7l                            2002-08-05                       RSA_size(3)