ruạṛ
a ���f�O � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s" e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej d d� �Zd!d"� Zd#d$� Zd%d&� Zd'S )(�SSLConfigurationa A listener's SSL handling configuration. To use SSL, a listener must be associated with a :class:`Certificate`. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. �ENABLED�DISABLEDc K sn dddddddddd� | _ dddd d ddd dd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ dS )a� Initializes a new SSLConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param verify_depth: The value to assign to the verify_depth property of this SSLConfiguration. :type verify_depth: int :param verify_peer_certificate: The value to assign to the verify_peer_certificate property of this SSLConfiguration. :type verify_peer_certificate: bool :param has_session_resumption: The value to assign to the has_session_resumption property of this SSLConfiguration. :type has_session_resumption: bool :param trusted_certificate_authority_ids: The value to assign to the trusted_certificate_authority_ids property of this SSLConfiguration. :type trusted_certificate_authority_ids: list[str] :param certificate_ids: The value to assign to the certificate_ids property of this SSLConfiguration. :type certificate_ids: list[str] :param certificate_name: The value to assign to the certificate_name property of this SSLConfiguration. :type certificate_name: str :param server_order_preference: The value to assign to the server_order_preference property of this SSLConfiguration. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type server_order_preference: str :param cipher_suite_name: The value to assign to the cipher_suite_name property of this SSLConfiguration. :type cipher_suite_name: str :param protocols: The value to assign to the protocols property of this SSLConfiguration. :type protocols: list[str] �int�boolz list[str]�str) �verify_depth�verify_peer_certificate�has_session_resumption�!trusted_certificate_authority_ids�certificate_ids�certificate_name�server_order_preference�cipher_suite_name� protocolsZverifyDepthZverifyPeerCertificateZhasSessionResumptionZtrustedCertificateAuthorityIdsZcertificateIdsZcertificateNameZserverOrderPreferenceZcipherSuiteNamer N)Z swagger_typesZ attribute_map� _verify_depth�_verify_peer_certificate�_has_session_resumption�"_trusted_certificate_authority_ids�_certificate_ids�_certificate_name�_server_order_preference�_cipher_suite_name� _protocols)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/load_balancer/models/ssl_configuration.py�__init__ s: -� �zSSLConfiguration.__init__c C s | j S )z� **[Required]** Gets the verify_depth of this SSLConfiguration. The maximum depth for peer certificate chain verification. Example: `3` :return: The verify_depth of this SSLConfiguration. :rtype: int �r �r r r r! r l s zSSLConfiguration.verify_depthc C s || _ dS )z� Sets the verify_depth of this SSLConfiguration. The maximum depth for peer certificate chain verification. Example: `3` :param verify_depth: The verify_depth of this SSLConfiguration. :type: int Nr# )r r r r r! r z s c C s | j S )a **[Required]** Gets the verify_peer_certificate of this SSLConfiguration. Whether the load balancer listener should verify peer certificates. Example: `true` :return: The verify_peer_certificate of this SSLConfiguration. :rtype: bool �r r$ r r r! r � s z(SSLConfiguration.verify_peer_certificatec C s || _ dS )a% Sets the verify_peer_certificate of this SSLConfiguration. Whether the load balancer listener should verify peer certificates. Example: `true` :param verify_peer_certificate: The verify_peer_certificate of this SSLConfiguration. :type: bool Nr% )r r r r r! r � s c C s | j S )a� Gets the has_session_resumption of this SSLConfiguration. Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again. If "true", the service resumes the previous TLS encrypted session. If "false", the service starts a new TLS encrypted session. Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance. Example: `true` :return: The has_session_resumption of this SSLConfiguration. :rtype: bool �r r$ r r r! r � s z'SSLConfiguration.has_session_resumptionc C s || _ dS )a� Sets the has_session_resumption of this SSLConfiguration. Whether the load balancer listener should resume an encrypted session by reusing the cryptographic parameters of a previous TLS session, without having to perform a full handshake again. If "true", the service resumes the previous TLS encrypted session. If "false", the service starts a new TLS encrypted session. Enabling session resumption improves performance but provides a lower level of security. Disabling session resumption improves security but reduces performance. Example: `true` :param has_session_resumption: The has_session_resumption of this SSLConfiguration. :type: bool Nr&