def make_key(bits):
 assert (bits >= 1024)
 key = OpenSSL.crypto.PKey()
 key.generate_key(OpenSSL.crypto.TYPE_RSA, bits)
 return OpenSSL.crypto.dump_privatekey(OpenSSL.crypto.FILETYPE_PEM, key)

def make_key ( bits ) : assert ( bits >= 1024 ) key = OpenSSL . crypto . PKey ( ) key . generate_key ( OpenSSL . crypto . TYPE_RSA , bits ) return OpenSSL . crypto . dump_privatekey ( OpenSSL . crypto . FILETYPE_PEM , key )
return the key to which a timestamp maps .