a Nf @sDddlmZddlmZmZmZddlmZeGdddeZdS))StaticPublicKey)formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZddZeddZ e j d dZ ed d Z e j d d Z ed dZ e j ddZ eddZ e j ddZ eddZej ddZeddZej ddZddZddZddZdS) JsonWebKeyz] A JSON Web Key that represents the public key used for verifying the JWT signature. RSAsigverifyc Ksjddddddddd|_dddddd d d d|_d |_d |_d |_d |_d |_d |_d |_d |_ d |_d S)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])kidformatktyusekey_opsalgner rrrrrrrN JSON_WEB_KEY) swagger_types attribute_map_kid_format_kty_use_key_ops_alg_n_e)selfkwargsr"/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apigateway/models/json_web_key.py__init__s60  zJsonWebKey.__init__cCs|jS)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 )rr r"r"r#rks zJsonWebKey.ktycCsdg}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)rr)r rallowed_valuesr"r"r#rzs  cCs|jS)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 )rr%r"r"r#rs zJsonWebKey.usecCsdg}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&N)rr)r rr'r"r"r#rs  cCs|jS)an Gets the key_ops of this JsonWebKey. The operations for which this key is to be used. 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'. :return: The key_ops of this JsonWebKey. :rtype: list[str] rr%r"r"r#rs zJsonWebKey.key_opscs.dg|r$fdd|D|dd<||_dS)z Sets the key_ops of this JsonWebKey. The operations for which this key is to be used. :param key_ops: The key_ops of this JsonWebKey. :type: list[str] r csg|]}t|sdn|qS)r&)r).0xr'r"r# z&JsonWebKey.key_ops..Nr()r rr"r+r#rs cCs|jS)z **[Required]** Gets the alg of this JsonWebKey. The algorithm intended for use with this key. :return: The alg of this JsonWebKey. :rtype: str rr%r"r"r#rs zJsonWebKey.algcCs ||_dS)z Sets the alg of this JsonWebKey. The algorithm intended for use with this key. :param alg: The alg of this JsonWebKey. :type: str Nr.)r rr"r"r#rs cCs|jS)z **[Required]** Gets the n of this JsonWebKey. The base64 url encoded modulus of the RSA public key represented by this key. :return: The n of this JsonWebKey. :rtype: str rr%r"r"r#rs z JsonWebKey.ncCs ||_dS)z Sets the n of this JsonWebKey. The base64 url encoded modulus of the RSA public key represented by this key. :param n: The n of this JsonWebKey. :type: str Nr/)r rr"r"r#rs cCs|jS)z **[Required]** Gets the e of this JsonWebKey. The base64 url encoded exponent of the RSA public key represented by this key. :return: The e of this JsonWebKey. :rtype: str rr%r"r"r#rs z JsonWebKey.ecCs ||_dS)z Sets the e of this JsonWebKey. The base64 url encoded exponent of the RSA public key represented by this key. :param e: The e of this JsonWebKey. :type: str Nr0)r rr"r"r#rs cCst|SN)rr%r"r"r#__repr__szJsonWebKey.__repr__cCs|dur dS|j|jkS)NF)__dict__r otherr"r"r#__eq__szJsonWebKey.__eq__cCs ||k Sr1r"r4r"r"r#__ne__szJsonWebKey.__ne__N)__name__ __module__ __qualname____doc__KTY_RSAUSE_SIGKEY_OPS_VERIFYr$propertyrsetterrrrrrr2r6r7r"r"r"r#r s@O            rN) static_public_keyroci.utilrrroci.decoratorsrrr"r"r"r#s