Bases: exceptions.Exception
raised for malformed certs
Bases: exceptions.Exception
raised for cert not found in given path
loads certificate and private key from a buffer
@param domain: a domain name to get a fingerprint from @type domain: str @param filepath: path to a file containing a PEM file @type filepath: str @param hash_type: the hash function to be used in the fingerprint.
must be one of SHA1, SHA224, SHA256, SHA384, SHA512
@type hash_type: str @rparam: hex_fpr, a hexadecimal representation of a bytestring
containing the fingerprint.
@rtype: string
@param domain: a domain name to get a certificate from.
Bases: keyring.backend.CryptedFileKeyring