Class JWKey

java.lang.Object
com.ringcentral.definitions.JWKey

public class JWKey extends Object
Public key definition in JWK format (see [RFC-7517](https://www.rfc-editor.org/rfc/rfc7517.html#section-4))
  • Field Details

    • kty

      public String kty
      Identifies the cryptographic algorithm family used with the key Required Example: RSA
    • alg

      public String alg
      Identifies the algorithm intended for use with the key Required Example: RS256
    • use

      public String use
      Identifies the intended use of the public key. This parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Required Example: sig Enum: sig, enc
    • kid

      public String kid
      An ID of the specific key within this keyset. It is used to match the `kid` parameter in JOSE header of JWT. Required
    • n

      public String n
      The "n" (modulus) parameter contains the modulus value for the RSA public key. It is represented as a Base64urlUInt-encoded value. (User with "RSA" key type) Required
    • e

      public String e
      The "e" (exponent) parameter contains the exponent value for the RSA public key. It is represented as a Base64urlUInt-encoded value. (User with "RSA" key type) Required
  • Constructor Details

    • JWKey

      public JWKey()
  • Method Details