def __eq__(self, other: object) -> bool:
    if (not isinstance(other, PKCS12KeyAndCertificates)):
        return NotImplemented
    return ((self.key == other.key) and (self.cert == other.cert) and (self.additional_certs == other.additional_certs))
def __eq__(self, other: object) -> bool:
    if (not isinstance(other, PKCS12KeyAndCertificates)):
        return NotImplemented
    return ((self.key == other.key) and (self.cert == other.cert) and (self.additional_certs == other.additional_certs))