def _gen_account_key(account_key, key_length, algorithm): key = acme_lib.create_key(key_length=key_length, algorithm=algorithm) acme_lib.write_file(account_key, key)
def _gen_account_key(account_key, key_length): key = acme_lib.create_key(key_length=key_length) acme_lib.write_file(account_key, key)
def _gen_cert_key(key, key_length, algorithm): the_key = acme_lib.create_key(key_length=key_length, algorithm=algorithm) acme_lib.write_file(key, the_key)
def _gen_cert_key(key, key_length): the_key = acme_lib.create_key(key_length=key_length) acme_lib.write_file(key, the_key)