Package com.ringcentral.definitions
Class JWKey
java.lang.Object
com.ringcentral.definitions.JWKey
Public key definition in JWK format
(see [RFC-7517](https://www.rfc-editor.org/rfc/rfc7517.html#section-4))
-
Field Summary
FieldsModifier and TypeFieldDescriptionIdentifies the algorithm intended for use with the key Required Example: RS256The "e" (exponent) parameter contains the exponent value for the RSA public key.An ID of the specific key within this keyset.Identifies the cryptographic algorithm family used with the key Required Example: RSAThe "n" (modulus) parameter contains the modulus value for the RSA public key.Identifies the intended use of the public key. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
kty
Identifies the cryptographic algorithm family used with the key Required Example: RSA -
alg
Identifies the algorithm intended for use with the key Required Example: RS256 -
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
An ID of the specific key within this keyset. It is used to match the `kid` parameter in JOSE header of JWT. Required -
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
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
-
kty
-
alg
-
use
-
kid
-
n
-
e
-