Package com.okta.sdk.resource.model
Class SchemasJsonWebKey
java.lang.Object
com.okta.sdk.resource.model.SchemasJsonWebKey
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonWebKeyEC
,JsonWebKeyRsa
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class SchemasJsonWebKey
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 these keys to verify the signature of a JWT when provided for the `private_key_jwt` client
authentication method or for a signed authorize request object. Okta supports both RSA and Elliptic Curve (EC) keys.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalg
(SigningAlgorithm alg) boolean
getAlg()
Get alggetKid()
The unique identifier of the keygetKty()
Get ktyGet statusgetUse()
Get useint
hashCode()
kty
(JsonWebKeyType kty) void
setAlg
(SigningAlgorithm alg) void
void
setKty
(JsonWebKeyType kty) void
setStatus
(JsonWebKeyStatus status) void
setUse
(JsonWebKeyUse use) status
(JsonWebKeyStatus status) toString()
use
(JsonWebKeyUse use)
-
Field Details
-
JSON_PROPERTY_ALG
- See Also:
-
JSON_PROPERTY_KID
- See Also:
-
JSON_PROPERTY_KTY
- See Also:
-
kty
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_USE
- See Also:
-
-
Constructor Details
-
SchemasJsonWebKey
public SchemasJsonWebKey()
-
-
Method Details
-
alg
-
getAlg
Get alg- Returns:
- alg
-
setAlg
-
kid
-
getKid
The unique identifier of the key- Returns:
- kid
-
setKid
-
kty
-
getKty
Get kty- Returns:
- kty
-
setKty
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
use
-
getUse
Get use- Returns:
- use
-
setUse
-
equals
-
hashCode
public int hashCode() -
toString
-