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
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets crvstatic enumThe type of public keystatic enumThe intended use for the key. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncrv(ECKeyJWK.CrvEnum crv) booleangetCrv()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 pointinthashCode()kty(ECKeyJWK.KtyEnum kty) voidsetCrv(ECKeyJWK.CrvEnum crv) voidvoidsetKty(ECKeyJWK.KtyEnum kty) voidsetUse(ECKeyJWK.UseEnum use) voidvoidtoString()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
-