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.
      • signingAlgorithmAsString

        public final String signingAlgorithmAsString()

        The signing algorithm that was used to verify the signature.

        If the service returns an enum value that is not available in the current SDK version, signingAlgorithm will return SigningAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from signingAlgorithmAsString().

        Returns:
        The signing algorithm that was used to verify the signature.
        See Also:
        SigningAlgorithmSpec
      • 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