Package com.okta.sdk.resource.model
Class ECKeyJWK
java.lang.Object
com.okta.sdk.resource.model.ECKeyJWK
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class ECKeyJWK
extends Object
implements Serializable
Elliptic Curve Key in JWK format, currently used during enrollment to encrypt fulfillment requests to Yubico, or
during activation to verify Yubico's JWS objects in fulfillment responses. The currently agreed protocol uses
P-384.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets crvstatic enum
The type of public keystatic enum
The intended use for the key. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncrv
(ECKeyJWK.CrvEnum crv) boolean
getCrv()
Get crvgetKid()
The unique identifier of the keygetKty()
The type of public keygetUse()
The intended use for the key.getX()
The public x coordinate for the elliptic curve pointgetY()
The public y coordinate for the elliptic curve pointint
hashCode()
kty
(ECKeyJWK.KtyEnum kty) void
setCrv
(ECKeyJWK.CrvEnum crv) void
void
setKty
(ECKeyJWK.KtyEnum kty) void
setUse
(ECKeyJWK.UseEnum use) void
void
toString()
use
(ECKeyJWK.UseEnum use)
-
Field Details
-
JSON_PROPERTY_CRV
- See Also:
-
JSON_PROPERTY_KID
- See Also:
-
JSON_PROPERTY_KTY
- See Also:
-
JSON_PROPERTY_USE
- See Also:
-
JSON_PROPERTY_X
- See Also:
-
JSON_PROPERTY_Y
- See Also:
-
-
Constructor Details
-
ECKeyJWK
public ECKeyJWK()
-
-
Method Details
-
crv
-
getCrv
Get crv- Returns:
- crv
-
setCrv
-
kid
-
getKid
The unique identifier of the key- Returns:
- kid
-
setKid
-
kty
-
getKty
The type of public key- Returns:
- kty
-
setKty
-
use
-
getUse
The intended use for the key. The ECKeyJWK is always `enc` because Okta uses it to encrypt requests to Yubico.- Returns:
- use
-
setUse
-
x
-
getX
The public x coordinate for the elliptic curve point- Returns:
- x
-
setX
-
y
-
getY
The public y coordinate for the elliptic curve point- Returns:
- y
-
setY
-
equals
-
hashCode
public int hashCode() -
toString
-