📄 rsa_new.pod
字号:
=pod=head1 NAMERSA_new, RSA_free - allocate and free RSA objects=head1 SYNOPSIS #include <openssl/rsa.h> RSA * RSA_new(void); void RSA_free(RSA *rsa);=head1 DESCRIPTIONRSA_new() allocates and initializes an B<RSA> structure. It is equivalent tocalling RSA_new_method(NULL).RSA_free() frees the B<RSA> structure and its components. The key iserased before the memory is returned to the system.=head1 RETURN VALUESIf the allocation fails, RSA_new() returns B<NULL> and sets an errorcode that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returnsa pointer to the newly allocated structure.RSA_free() returns no value.=head1 SEE ALSOL<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>,L<RSA_generate_key(3)|RSA_generate_key(3)>,L<RSA_new_method(3)|RSA_new_method(3)>=head1 HISTORYRSA_new() and RSA_free() are available in all versions of SSLeay and OpenSSL.=cut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -