JWK

class oci.identity_data_plane.models.JWK(**kwargs)

Bases: object

JWK model.

Methods

__init__(**kwargs) Initializes a new JWK object with values from keyword arguments.

Attributes

alg [Required] Gets the alg of this JWK.
e [Required] Gets the e of this JWK.
kid [Required] Gets the kid of this JWK.
kty [Required] Gets the kty of this JWK.
n [Required] Gets the n of this JWK.
use [Required] Gets the use of this JWK.
__init__(**kwargs)

Initializes a new JWK object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • n (str) – The value to assign to the n property of this JWK.
  • e (str) – The value to assign to the e property of this JWK.
  • kid (str) – The value to assign to the kid property of this JWK.
  • use (str) – The value to assign to the use property of this JWK.
  • alg (str) – The value to assign to the alg property of this JWK.
  • kty (str) – The value to assign to the kty property of this JWK.
alg

[Required] Gets the alg of this JWK. The algorithm.

Returns:The alg of this JWK.
Return type:str
e

[Required] Gets the e of this JWK. The exponent.

Returns:The e of this JWK.
Return type:str
kid

[Required] Gets the kid of this JWK. The key id.

Returns:The kid of this JWK.
Return type:str
kty

[Required] Gets the kty of this JWK. The key type.

Returns:The kty of this JWK.
Return type:str
n

[Required] Gets the n of this JWK. The modulus.

Returns:The n of this JWK.
Return type:str
use

[Required] Gets the use of this JWK. The key use.

Returns:The use of this JWK.
Return type:str