Class VerifyResponse

    • Method Detail

      • keyId

        public final String keyId()

        The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.

        Returns:
        The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
      • signatureValid

        public final Boolean signatureValid()

        A Boolean value that indicates whether the signature was verified. A value of True indicates that the Signature was produced by signing the Message with the specified KeyID and SigningAlgorithm. If the signature is not verified, the Verify operation fails with a KMSInvalidSignatureException exception.

        Returns:
        A Boolean value that indicates whether the signature was verified. A value of True indicates that the Signature was produced by signing the Message with the specified KeyID and SigningAlgorithm. If the signature is not verified, the Verify operation fails with a KMSInvalidSignatureException exception.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object