Enum AsymmetricSignatureAlgorithm

    • Method Detail

      • values

        public static AsymmetricSignatureAlgorithm[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AsymmetricSignatureAlgorithm c : AsymmetricSignatureAlgorithm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AsymmetricSignatureAlgorithm valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()
        Specified by:
        getValue in interface io.jans.orm.annotation.AttributeEnum
      • getAlgorithm

        public java.lang.String getAlgorithm()
      • getJwtType

        public JwtType getJwtType()
      • fromString

        public static AsymmetricSignatureAlgorithm fromString​(java.lang.String param)
        Returns the corresponding AsymmetricSignatureAlgorithm for a parameter alg of the JWK endpoint.
        Parameters:
        param - The alg parameter.
        Returns:
        The corresponding alg if found, otherwise null.
      • resolveByValue

        public java.lang.Enum<? extends io.jans.orm.annotation.AttributeEnum> resolveByValue​(java.lang.String value)
        Specified by:
        resolveByValue in interface io.jans.orm.annotation.AttributeEnum
      • toString

        public java.lang.String toString()
        Returns a string representation of the object. In this case the parameter name.
        Overrides:
        toString in class java.lang.Enum<AsymmetricSignatureAlgorithm>
        Returns:
        The string representation of the object.