Package com.okta.sdk.resource.model
Class ResourceServerJsonWebKey
java.lang.Object
com.okta.sdk.resource.model.ResourceServerJsonWebKey
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class ResourceServerJsonWebKey
extends Object
implements Serializable
A [JSON Web Key (JWK)](https://tools.ietf.org/html/rfc7517) is a JSON representation of a cryptographic key. Okta can
use the active key to encrypt the access token minted by the authorization server. Okta supports only RSA keys with
'use: enc'.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetE()The key exponent of a RSA keygetKid()The unique identifier of the keygetKty()Get ktygetN()The modulus of the RSA keyGet statusgetUse()Get useinthashCode()kty(JsonWebKeyType kty) voidvoidvoidsetKty(JsonWebKeyType kty) voidvoidsetStatus(JsonWebKeyStatus status) voidsetUse(JsonWebKeyUse use) status(JsonWebKeyStatus status) toString()use(JsonWebKeyUse use)
-
Field Details
-
JSON_PROPERTY_E
- See Also:
-
JSON_PROPERTY_KID
- See Also:
-
JSON_PROPERTY_KTY
- See Also:
-
JSON_PROPERTY_N
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_USE
- See Also:
-
-
Constructor Details
-
ResourceServerJsonWebKey
public ResourceServerJsonWebKey()
-
-
Method Details
-
e
-
getE
The key exponent of a RSA key- Returns:
- e
-
setE
-
kid
-
getKid
The unique identifier of the key- Returns:
- kid
-
setKid
-
kty
-
getKty
Get kty- Returns:
- kty
-
setKty
-
n
-
getN
The modulus of the RSA key- Returns:
- n
-
setN
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
use
-
getUse
Get use- Returns:
- use
-
setUse
-
equals
-
hashCode
public int hashCode() -
toString
-