diff --git a/pyx509/commands.py b/pyx509/commands.py index 367191d..09cdbf6 100644 --- a/pyx509/commands.py +++ b/pyx509/commands.py @@ -24,12 +24,15 @@ def print_certificate_info(derData): """ - Print certificate + Print certificate to stdout """ X509Certificate.from_der(derData).display() def print_certificate_info_cmd(): + """ + Print certificate command + """ if len(sys.argv) < 2: print >> sys.stderr, "Usage: %s " % sys.argv[0] sys.exit(1) @@ -38,12 +41,15 @@ def print_certificate_info_cmd(): def print_signature_info(derData): """ - Print certificates of signature + Print signature certificates to stdout """ PKCS7.from_der(derData).display() def print_signature_info_cmd(): + """ + Print signature certificates command + """ if len(sys.argv) < 2: print >> sys.stderr, "Usage: %s " % sys.argv[0] sys.exit(1)