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)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • alg

      public JWKPublicKey alg​(java.lang.String 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

      public JWKPublicKey crv​(java.lang.String 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

      public JWKPublicKey kid​(java.lang.String 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

      public JWKPublicKey kty​(java.lang.String 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

      public JWKPublicKey use​(java.lang.String 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

      public JWKPublicKey x​(java.lang.String 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

      public JWKPublicKey y​(java.lang.String 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

      public JWKPublicKey createdAt​(java.lang.Integer 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

      public JWKPublicKey expiredAt​(java.lang.Integer 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 class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object