Interface JsonWebKey

All Known Implementing Classes:
ImmutableJsonWebKey

public interface JsonWebKey
Representation for a JSON Web Key.
See Also:
  • Method Details

    • getType

      String getType()
      Returns the key type parameter.
      Returns:
      the key type.
    • getAlgorithm

      Optional<String> getAlgorithm()
      Returns the algorithm parameter.
      Returns:
      the algorithm.
    • getUsage

      Optional<String> 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

      Optional<String> getCurveType()
      Returns the curve type.
      Returns:
      the curve type.
      Since:
      3.0.0