Enum Algorithm

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Algorithm>

    public enum Algorithm
    extends java.lang.Enum<Algorithm>
    The cryptographic algorithms for the HTTP signature.
    • Enum Constant Detail

      • HMAC_SHA1

        public static final Algorithm HMAC_SHA1
      • HMAC_SHA224

        public static final Algorithm HMAC_SHA224
      • HMAC_SHA256

        public static final Algorithm HMAC_SHA256
      • HMAC_SHA384

        public static final Algorithm HMAC_SHA384
      • HMAC_SHA512

        public static final Algorithm HMAC_SHA512
      • RSA_SHA1

        public static final Algorithm RSA_SHA1
      • RSA_SHA256

        public static final Algorithm RSA_SHA256
      • RSA_SHA384

        public static final Algorithm RSA_SHA384
      • RSA_SHA512

        public static final Algorithm RSA_SHA512
      • RSA_SHA3_256

        public static final Algorithm RSA_SHA3_256
      • RSA_SHA3_384

        public static final Algorithm RSA_SHA3_384
      • RSA_SHA3_512

        public static final Algorithm RSA_SHA3_512
      • RSA_PSS

        public static final Algorithm RSA_PSS
      • DSA_SHA1

        public static final Algorithm DSA_SHA1
      • DSA_SHA224

        public static final Algorithm DSA_SHA224
      • DSA_SHA256

        public static final Algorithm DSA_SHA256
      • DSA_SHA384

        public static final Algorithm DSA_SHA384
      • DSA_SHA512

        public static final Algorithm DSA_SHA512
      • DSA_SHA3_256

        public static final Algorithm DSA_SHA3_256
      • DSA_SHA3_384

        public static final Algorithm DSA_SHA3_384
      • DSA_SHA3_512

        public static final Algorithm DSA_SHA3_512
      • ECDSA_SHA1

        public static final Algorithm ECDSA_SHA1
      • ECDSA_SHA256

        public static final Algorithm ECDSA_SHA256
      • ECDSA_SHA384

        public static final Algorithm ECDSA_SHA384
      • ECDSA_SHA512

        public static final Algorithm ECDSA_SHA512
      • ECDSA_SHA3_256

        public static final Algorithm ECDSA_SHA3_256
      • ECDSA_SHA3_384

        public static final Algorithm ECDSA_SHA3_384
      • ECDSA_SHA3_512

        public static final Algorithm ECDSA_SHA3_512
      • ECDSA_SHA256_P1363

        public static final Algorithm ECDSA_SHA256_P1363
      • ECDSA_SHA384_P1363

        public static final Algorithm ECDSA_SHA384_P1363
      • ECDSA_SHA512_P1363

        public static final Algorithm ECDSA_SHA512_P1363
    • Method Detail

      • values

        public static Algorithm[] 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 (Algorithm c : Algorithm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Algorithm 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
      • getPortableName

        public java.lang.String getPortableName()
      • getJvmName

        public java.lang.String getJvmName()
      • getType

        public java.lang.Class getType()
      • toPortableName

        public static java.lang.String toPortableName​(java.lang.String name)
      • toJvmName

        public static java.lang.String toJvmName​(java.lang.String name)
      • get

        public static Algorithm get​(java.lang.String name)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Algorithm>