# This file is auto-generated by oagen. Do not edit.

"""Enumeration of connection saml certificate renewal required data certificate certificate type values."""

from __future__ import annotations

from enum import Enum
from typing import Optional
from typing import Literal, TypeAlias


class ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateType(str, Enum):
    """Known values for ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateType."""

    RESPONSE_SIGNING = "ResponseSigning"
    REQUEST_SIGNING = "RequestSigning"
    RESPONSE_ENCRYPTION = "ResponseEncryption"

    @classmethod
    def _missing_(
        cls, value: object
    ) -> Optional[
        "ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateType"
    ]:
        if not isinstance(value, str):
            return None
        unknown = str.__new__(cls, value)
        unknown._name_ = value.upper()
        unknown._value_ = value
        return unknown


ConnectionSAMLCertificateRenewalRequiredDataCertificateCertificateTypeLiteral: TypeAlias = Literal[
    "ResponseSigning", "RequestSigning", "ResponseEncryption"
]
