public class VerifyResult extends Object implements Serializable
| Constructor and Description |
|---|
VerifyResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getKeyId()
The unique identifier for the asymmetric CMK 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 unique identifier for the asymmetric CMK that was used to verify the
signature.
|
void |
setSignatureValid(Boolean signatureValid)
A Boolean value that indicates whether the signature was verified.
|
void |
setSigningAlgorithm(SigningAlgorithmSpec signingAlgorithm)
The signing algorithm that was used to verify the signature.
|
void |
setSigningAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VerifyResult |
withKeyId(String keyId)
The unique identifier for the asymmetric CMK 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.
|
public String getKeyId()
The unique identifier for the asymmetric CMK that was used to verify the signature.
Constraints:
Length: 1 - 2048
The unique identifier for the asymmetric CMK that was used to verify the signature.
public void setKeyId(String keyId)
The unique identifier for the asymmetric CMK that was used to verify the signature.
Constraints:
Length: 1 - 2048
keyId - The unique identifier for the asymmetric CMK that was used to verify the signature.
public VerifyResult withKeyId(String keyId)
The unique identifier for the asymmetric CMK that was used to verify the signature.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
keyId - The unique identifier for the asymmetric CMK that was used to verify the signature.
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.
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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 String getSigningAlgorithm()
The signing algorithm that was used to verify the signature.
Constraints:
Allowed Values: RSASSA_PSS_SHA_256, RSASSA_PSS_SHA_384,
RSASSA_PSS_SHA_512, RSASSA_PKCS1_V1_5_SHA_256, RSASSA_PKCS1_V1_5_SHA_384,
RSASSA_PKCS1_V1_5_SHA_512, ECDSA_SHA_256, ECDSA_SHA_384, ECDSA_SHA_512
The signing algorithm that was used to verify the signature.
SigningAlgorithmSpecpublic void setSigningAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.
Constraints:
Allowed Values: RSASSA_PSS_SHA_256, RSASSA_PSS_SHA_384,
RSASSA_PSS_SHA_512, RSASSA_PKCS1_V1_5_SHA_256, RSASSA_PKCS1_V1_5_SHA_384,
RSASSA_PKCS1_V1_5_SHA_512, ECDSA_SHA_256, ECDSA_SHA_384, ECDSA_SHA_512
signingAlgorithm - The signing algorithm that was used to verify the signature.
SigningAlgorithmSpecpublic VerifyResult withSigningAlgorithm(String signingAlgorithm)
The signing algorithm that was used to verify the signature.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RSASSA_PSS_SHA_256, RSASSA_PSS_SHA_384,
RSASSA_PSS_SHA_512, RSASSA_PKCS1_V1_5_SHA_256, RSASSA_PKCS1_V1_5_SHA_384,
RSASSA_PKCS1_V1_5_SHA_512, ECDSA_SHA_256, ECDSA_SHA_384, ECDSA_SHA_512
signingAlgorithm - The signing algorithm that was used to verify the signature.
SigningAlgorithmSpecpublic void setSigningAlgorithm(SigningAlgorithmSpec signingAlgorithm)
The signing algorithm that was used to verify the signature.
Constraints:
Allowed Values: RSASSA_PSS_SHA_256, RSASSA_PSS_SHA_384,
RSASSA_PSS_SHA_512, RSASSA_PKCS1_V1_5_SHA_256, RSASSA_PKCS1_V1_5_SHA_384,
RSASSA_PKCS1_V1_5_SHA_512, ECDSA_SHA_256, ECDSA_SHA_384, ECDSA_SHA_512
signingAlgorithm - The signing algorithm that was used to verify the signature.
SigningAlgorithmSpecpublic VerifyResult withSigningAlgorithm(SigningAlgorithmSpec signingAlgorithm)
The signing algorithm that was used to verify the signature.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RSASSA_PSS_SHA_256, RSASSA_PSS_SHA_384,
RSASSA_PSS_SHA_512, RSASSA_PKCS1_V1_5_SHA_256, RSASSA_PKCS1_V1_5_SHA_384,
RSASSA_PKCS1_V1_5_SHA_512, ECDSA_SHA_256, ECDSA_SHA_384, ECDSA_SHA_512
signingAlgorithm - The signing algorithm that was used to verify the signature.
SigningAlgorithmSpecpublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.