M2Crypto wrapper for OpenSSL RSA API.
Copyright (c) 1999-2004 Ng Pheng Siong. All rights reserved.
|
|
|
|
|
keygen_callback(p,
n,
out=sys.stdout)
Default callback for gen_key(). |
|
|
|
M2Crypto.RSA.RSA
|
gen_key(bits,
e,
callback=<function keygen_callback at 0x83c3bfc>)
Generate an RSA key pair. |
|
|
|
M2Crypto.RSA.RSA
|
load_key(file,
callback=<function passphrase_callback at 0x83b2a04>)
Load an RSA key pair from file. |
|
|
|
M2Crypto.RSA.RSA
|
load_key_bio(bio,
callback=<function passphrase_callback at 0x83b2a04>)
Load an RSA key pair from an M2Crypto.BIO.BIO object. |
|
|
|
M2Crypto.RSA.RSA
|
load_key_string(string,
callback=<function passphrase_callback at 0x83b2a04>)
Load an RSA key pair from a string. |
|
|
|
M2Crypto.RSA.RSA_pub
|
|
|
M2Crypto.RSA.RSA_pub
|
|
|
M2Crypto.RSA.RSA_pub
|
new_pub_key((e, n))
Instantiate an RSA_pub object from an (e, n) tuple. |
|
|