Enum CredentialBatchIssueResponse.Action

    • Enum Constant Detail

      • OK

        public static final CredentialBatchIssueResponse.Action OK
        Credentials and/or transaction IDs were issued successfully. The implementation of the batch credential endpoint should return a successful response with the HTTP status code "200 OK" and the content type application/json.
      • OK_JWT

        public static final CredentialBatchIssueResponse.Action OK_JWT
        Credentials and/or transaction IDs were issued successfully and the batch credential response should be encrypted. The implementation of the batch credential endpoint should return a successful response with the HTTP status code "200 OK" and the content type application/jwt.
        Since:
        3.86
      • BAD_REQUEST

        public static final CredentialBatchIssueResponse.Action BAD_REQUEST
        The original batch credential request is wrong. This can happen, for example, when the process for encrypting the batch credential response with the encryption parameters specified in the batch credential request failed.
        Since:
        3.86
    • Method Detail

      • values

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

        public static CredentialBatchIssueResponse.Action 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