Object Jwa.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Jwa parse(String algorithmName) Parse algorithm name into Jwa.
      final JWSAlgorithm toJwsAlgorithm(Jwa algorithm) Convert Jwa to nimbusds JWSAlgorithm.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • parse

         final Jwa parse(String algorithmName)

        Parse algorithm name into Jwa.

        Parameters:
        algorithmName - name of the algorithm
        Returns:

        Jwa Json Web Algorithm

      • toJwsAlgorithm

         final JWSAlgorithm toJwsAlgorithm(Jwa algorithm)

        Convert Jwa to nimbusds JWSAlgorithm. Used to temporarily bridge the gap between moving from nimbusds Jwk methods to rolling our own Jwk methods

        Parameters:
        algorithm - Jwa
        Returns:

        JWSAlgorithm nimbusds JWSAlgorithm