signer.util.keygen ================== .. py:module:: signer.util.keygen .. autoapi-nested-parse:: This File contains functions to create Public and Private Keys. Module Contents --------------- .. py:function:: generate_private_key(algorithm_oid_str, curve_name, key_size) This Function generates a Private Key. Which later on is used to get public Key. :param algorithm_oid_str: oid string of the algorithm to use. :param curve_name: curve name which is used to generate the private key (either of two is used). :param key_size: length of the private key (either of two is used). :returns: Gives out the private key. In string pem format. .. py:function:: load_private_key_object(pem_str) This function loads a private key from PEM format.