Package org.eclipse.ditto.jwt.model
Interface JsonWebKey
- All Known Implementing Classes:
ImmutableJsonWebKey
public interface JsonWebKey
Representation for a JSON Web Key.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classAn enumeration of the knownJsonFields of a JSON Web Key. -
Method Summary
Modifier and TypeMethodDescriptionReturns the algorithm parameter.Returns the curve type.Returns the exponent parameter.getId()Returns the id parameter.Returns the modulus parameter.getType()Returns the key type parameter.getUsage()Returns the usage parameter.Returns the EC X coordinate.Returns the EC Y coordinate.
-
Method Details
-
getType
String getType()Returns the key type parameter.- Returns:
- the key type.
-
getAlgorithm
Returns the algorithm parameter.- Returns:
- the algorithm.
-
getUsage
Returns the usage parameter.- Returns:
- the usage.
-
getId
String getId()Returns the id parameter.- Returns:
- the id.
-
getModulus
Optional<BigInteger> getModulus()Returns the modulus parameter.- Returns:
- the modulus.
- Since:
- 3.0.0
-
getExponent
Optional<BigInteger> getExponent()Returns the exponent parameter.- Returns:
- the exponent.
- Since:
- 3.0.0
-
getXCoordinate
Optional<BigInteger> getXCoordinate()Returns the EC X coordinate.- Returns:
- the EC X coordinate.
- Since:
- 3.0.0
-
getYCoordinate
Optional<BigInteger> getYCoordinate()Returns the EC Y coordinate.- Returns:
- the EC Y coordinate.
- Since:
- 3.0.0
-
getCurveType
Returns the curve type.- Returns:
- the curve type.
- Since:
- 3.0.0
-