Package com.plaid.client.model
Class JWKPublicKey
java.lang.Object
com.plaid.client.model.JWKPublicKey
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class JWKPublicKey
extends java.lang.Object
A JSON Web Key (JWK) that can be used in conjunction with [JWT libraries](https://jwt.io/#libraries-io) to verify Plaid webhooks
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_ALG
static java.lang.String
SERIALIZED_NAME_CREATED_AT
static java.lang.String
SERIALIZED_NAME_CRV
static java.lang.String
SERIALIZED_NAME_EXPIRED_AT
static java.lang.String
SERIALIZED_NAME_KID
static java.lang.String
SERIALIZED_NAME_KTY
static java.lang.String
SERIALIZED_NAME_USE
static java.lang.String
SERIALIZED_NAME_X
static java.lang.String
SERIALIZED_NAME_Y
-
Constructor Summary
Constructors Constructor Description JWKPublicKey()
-
Method Summary
Modifier and Type Method Description JWKPublicKey
alg(java.lang.String alg)
JWKPublicKey
createdAt(java.lang.Integer createdAt)
JWKPublicKey
crv(java.lang.String crv)
boolean
equals(java.lang.Object o)
JWKPublicKey
expiredAt(java.lang.Integer expiredAt)
java.lang.String
getAlg()
The alg member identifies the cryptographic algorithm family used with the key.java.lang.Integer
getCreatedAt()
The timestamp when the key was created, in Unix time.java.lang.String
getCrv()
The crv member identifies the cryptographic curve used with the key.java.lang.Integer
getExpiredAt()
The timestamp when the key expired, in Unix time.java.lang.String
getKid()
The kid (Key ID) member can be used to match a specific key.java.lang.String
getKty()
The kty (key type) parameter identifies the cryptographic algorithm family used with the key, such as RSA or EC.java.lang.String
getUse()
The use (public key use) parameter identifies the intended use of the public key.java.lang.String
getX()
The x member contains the x coordinate for the elliptic curve point.java.lang.String
getY()
The y member contains the y coordinate for the elliptic curve point.int
hashCode()
JWKPublicKey
kid(java.lang.String kid)
JWKPublicKey
kty(java.lang.String kty)
void
setAlg(java.lang.String alg)
void
setCreatedAt(java.lang.Integer createdAt)
void
setCrv(java.lang.String crv)
void
setExpiredAt(java.lang.Integer expiredAt)
void
setKid(java.lang.String kid)
void
setKty(java.lang.String kty)
void
setUse(java.lang.String use)
void
setX(java.lang.String x)
void
setY(java.lang.String y)
java.lang.String
toString()
JWKPublicKey
use(java.lang.String use)
JWKPublicKey
x(java.lang.String x)
JWKPublicKey
y(java.lang.String y)
-
Field Details
-
SERIALIZED_NAME_ALG
public static final java.lang.String SERIALIZED_NAME_ALG- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CRV
public static final java.lang.String SERIALIZED_NAME_CRV- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KID
public static final java.lang.String SERIALIZED_NAME_KID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KTY
public static final java.lang.String SERIALIZED_NAME_KTY- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USE
public static final java.lang.String SERIALIZED_NAME_USE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_X
public static final java.lang.String SERIALIZED_NAME_X- See Also:
- Constant Field Values
-
SERIALIZED_NAME_Y
public static final java.lang.String SERIALIZED_NAME_Y- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final java.lang.String SERIALIZED_NAME_CREATED_AT- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRED_AT
public static final java.lang.String SERIALIZED_NAME_EXPIRED_AT- See Also:
- Constant Field Values
-
-
Constructor Details
-
JWKPublicKey
public JWKPublicKey()
-
-
Method Details
-
alg
-
getAlg
public java.lang.String getAlg()The alg member identifies the cryptographic algorithm family used with the key.- Returns:
- alg
-
setAlg
public void setAlg(java.lang.String alg) -
crv
-
getCrv
public java.lang.String getCrv()The crv member identifies the cryptographic curve used with the key.- Returns:
- crv
-
setCrv
public void setCrv(java.lang.String crv) -
kid
-
getKid
public java.lang.String getKid()The kid (Key ID) member can be used to match a specific key. This can be used, for instance, to choose among a set of keys within the JWK during key rollover.- Returns:
- kid
-
setKid
public void setKid(java.lang.String kid) -
kty
-
getKty
public java.lang.String getKty()The kty (key type) parameter identifies the cryptographic algorithm family used with the key, such as RSA or EC.- Returns:
- kty
-
setKty
public void setKty(java.lang.String kty) -
use
-
getUse
public java.lang.String getUse()The use (public key use) parameter identifies the intended use of the public key.- Returns:
- use
-
setUse
public void setUse(java.lang.String use) -
x
-
getX
public java.lang.String getX()The x member contains the x coordinate for the elliptic curve point.- Returns:
- x
-
setX
public void setX(java.lang.String x) -
y
-
getY
public java.lang.String getY()The y member contains the y coordinate for the elliptic curve point.- Returns:
- y
-
setY
public void setY(java.lang.String y) -
createdAt
-
getCreatedAt
public java.lang.Integer getCreatedAt()The timestamp when the key was created, in Unix time.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(java.lang.Integer createdAt) -
expiredAt
-
getExpiredAt
@Nullable public java.lang.Integer getExpiredAt()The timestamp when the key expired, in Unix time.- Returns:
- expiredAt
-
setExpiredAt
public void setExpiredAt(java.lang.Integer expiredAt) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-