from __future__ import annotations
from typing import Any, Protocol, runtime_checkable

@runtime_checkable
class XCertificateContainer(Protocol):
    def addCertificate(self, url: str, cert: str, trust: bool) -> bool: ...
    def hasCertificate(self, url: str, cert: str) -> CertificateContainerStatus: ...
