Enum SAMLEncryptionAlgorithms

    • Method Detail

      • values

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

        public static SAMLEncryptionAlgorithms valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getXmlEncIdentifiers

        public String[] getXmlEncIdentifiers()
        Getter for all the XML encoding identifiers. There should be at least one.
        Returns:
        The array of XML encoding identifiers
      • getKeycloakIdentifier

        public String getKeycloakIdentifier()
        Getter for the keycloak identifier.
        Returns:
        The keycloak identifier.
      • forXMLEncIdentifier

        public static SAMLEncryptionAlgorithms forXMLEncIdentifier​(String xmlEncIdentifier)
        Returns the SAMLEncryptionAlgorithms that contains the xml enc identifier.
        Parameters:
        xmlEncIdentifier - The Xml encoding identifier
        Returns:
        The associated SAMLEncryptionAlgorithms or null
      • forKeycloakIdentifier

        public static SAMLEncryptionAlgorithms forKeycloakIdentifier​(String keycloakIdentifier)
        Returns the SAMLEncryptionAlgorithms for the keycloak identifier.
        Parameters:
        keycloakIdentifier - The keycloak identifier
        Returns:
        The associated SAMLEncryptionAlgorithms or null