tiny_ca.exc module¶
- exception tiny_ca.exc.CertNotFound[source]¶
Bases:
CryptoException- Return type:
None
- exception tiny_ca.exc.CryptoException(message)[source]¶
Bases:
ExceptionRaised when certificate validation fails.
- Parameters:
message (str)
- Return type:
None
- exception tiny_ca.exc.DBNotInitedError[source]¶
Bases:
CryptoException- Return type:
None
- exception tiny_ca.exc.ErrorLoadCert(path_to_file, exc)[source]¶
Bases:
CryptoException
- exception tiny_ca.exc.FileAlreadyExists(path_save_cert)[source]¶
Bases:
CryptoException- Parameters:
path_save_cert (Path)
- Return type:
None
- exception tiny_ca.exc.InvalidRangeTimeCertificate(valid_from, valid_to, now)[source]¶
Bases:
CryptoException
- exception tiny_ca.exc.IsNotFile(path_to_file)[source]¶
Bases:
CryptoException
- exception tiny_ca.exc.NotExistCertFile(path_to_file)[source]¶
Bases:
CryptoException
- exception tiny_ca.exc.NotUniqueCertOwner(common_name)[source]¶
Bases:
CryptoException- Parameters:
common_name (str)
- Return type:
None
- exception tiny_ca.exc.ValidationCertError(message)[source]¶
Bases:
CryptoException- Parameters:
message (str)
- Return type:
None
- exception tiny_ca.exc.WrongType(wrong_type, allowed_types=('.key', '.pem', '.csr'))[source]¶
Bases:
CryptoException