Class InvalidKeyUsageException

  • All Implemented Interfaces:
    Serializable

    public class InvalidKeyUsageException
    extends AmazonServiceException

    The request was rejected because the specified KeySpec parameter is not valid. The currently supported value is ENCRYPT/DECRYPT.

    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidKeyUsageException

        public InvalidKeyUsageException​(String message)
        Constructs a new InvalidKeyUsageException with the specified error message.
        Parameters:
        message - Describes the error encountered.