ruạṛ
a ���f'! � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�StaticPublicKey� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd� ZdS ) � JsonWebKeyz] A JSON Web Key that represents the public key used for verifying the JWT signature. �RSA�sig�verifyc K sj ddddddddd�| _ dddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d | _dS )a� Initializes a new JsonWebKey object with values from keyword arguments. The default value of the :py:attr:`~oci.apigateway.models.JsonWebKey.format` attribute of this class is ``JSON_WEB_KEY`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kid: The value to assign to the kid property of this JsonWebKey. :type kid: str :param format: The value to assign to the format property of this JsonWebKey. Allowed values for this property are: "JSON_WEB_KEY", "PEM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type format: str :param kty: The value to assign to the kty property of this JsonWebKey. Allowed values for this property are: "RSA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kty: str :param use: The value to assign to the use property of this JsonWebKey. Allowed values for this property are: "sig", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type use: str :param key_ops: The value to assign to the key_ops property of this JsonWebKey. Allowed values for items in this list are: "verify", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type key_ops: list[str] :param alg: The value to assign to the alg property of this JsonWebKey. :type alg: str :param n: The value to assign to the n property of this JsonWebKey. :type n: str :param e: The value to assign to the e property of this JsonWebKey. :type e: str �strz list[str])�kid�format�kty�use�key_ops�alg�n�er r r r r r r r NZJSON_WEB_KEY) Z swagger_typesZ attribute_mapZ_kid�_format�_kty�_use�_key_ops�_alg�_n�_e)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/apigateway/models/json_web_key.py�__init__ s6 0��zJsonWebKey.__init__c C s | j S )aD **[Required]** Gets the kty of this JsonWebKey. The key type. Allowed values for this property are: "RSA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The kty of this JsonWebKey. :rtype: str )r �r r r r r m s zJsonWebKey.ktyc C s dg}t ||�sd}|| _dS )z� Sets the kty of this JsonWebKey. The key type. :param kty: The kty of this JsonWebKey. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r | s c C s | j S )aK Gets the use of this JsonWebKey. The intended use of the public key. Allowed values for this property are: "sig", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The use of this JsonWebKey. :rtype: str )r r! r r r r � s zJsonWebKey.usec C s dg}t ||�sd}|| _dS )z� Sets the use of this JsonWebKey. The intended use of the public key. :param use: The use of this JsonWebKey. :type: str r r"