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.

This manual page is associated with the Mac OS X developer tools. The software or headers described may not be present on your Mac OS X installation until you install the developer tools package. This package is available on your Mac OS X installation DVD, and the latest versions can be downloaded from developer.apple.com.

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)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.