class AuthenticationFailed(Exception):
"""The authentication for the specified user failed."""
+
class InvalidCACertificate(Exception):
- """The CA Certificate is not valid."""
\ No newline at end of file
+ """The CA Certificate is not valid."""
+
+
+class NotImplemented(Exception):
+ """The method is not implemented."""
+
return cacert
- self.ca_cert = base64_to_cacert(ca_cert)
- # self.ca_cert = None
+ self.ca_cert = None
+ if ca_cert:
+ self.ca_cert = base64_to_cacert(ca_cert)
# Quiet websocket traffic