@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
VerifyResult() |
Modifier and Type | Method and Description |
---|---|
VerifyResult |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId()
The Amazon Resource Name (key ARN) of the
asymmetric KMS key that was used to verify the signature.
|
Boolean |
getSignatureValid()
A Boolean value that indicates whether the signature was verified.
|
String |
getSigningAlgorithm()
The signing algorithm that was used to verify the signature.
|
int |
hashCode() |
Boolean |
isSignatureValid()
A Boolean value that indicates whether the signature was verified.
|
void |
setKeyId(String keyId)
The Amazon Resource Name (key ARN) of the
asymmetric KMS key that was used to verify the signature.
|
void |
setSignatureValid(Boolean signatureValid)
A Boolean value that indicates whether the signature was verified.
|
void |
setSigningAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.
|
String |
toString()
Returns a string representation of this object.
|
VerifyResult |
withKeyId(String keyId)
The Amazon Resource Name (key ARN) of the
asymmetric KMS key that was used to verify the signature.
|
VerifyResult |
withSignatureValid(Boolean signatureValid)
A Boolean value that indicates whether the signature was verified.
|
VerifyResult |
withSigningAlgorithm(SigningAlgorithmSpec signingAlgorithm)
The signing algorithm that was used to verify the signature.
|
VerifyResult |
withSigningAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyId(String keyId)
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
keyId
- The Amazon Resource Name (key ARN) of
the asymmetric KMS key that was used to verify the signature.public String getKeyId()
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
public VerifyResult withKeyId(String keyId)
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
keyId
- The Amazon Resource Name (key ARN) of
the asymmetric KMS key that was used to verify the signature.public void setSignatureValid(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.
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.public Boolean getSignatureValid()
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.
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.public VerifyResult withSignatureValid(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.
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.public Boolean isSignatureValid()
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.
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.public void setSigningAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.
signingAlgorithm
- The signing algorithm that was used to verify the signature.SigningAlgorithmSpec
public String getSigningAlgorithm()
The signing algorithm that was used to verify the signature.
SigningAlgorithmSpec
public VerifyResult withSigningAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.
signingAlgorithm
- The signing algorithm that was used to verify the signature.SigningAlgorithmSpec
public VerifyResult withSigningAlgorithm(SigningAlgorithmSpec signingAlgorithm)
The signing algorithm that was used to verify the signature.
signingAlgorithm
- The signing algorithm that was used to verify the signature.SigningAlgorithmSpec
public String toString()
toString
in class Object
Object.toString()
public VerifyResult clone()