Struct aws_sdk_kms::operation::verify::VerifyOutput
source · #[non_exhaustive]pub struct VerifyOutput {
pub key_id: Option<String>,
pub signature_valid: bool,
pub signing_algorithm: Option<SigningAlgorithmSpec>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_id: Option<String>
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
signature_valid: bool
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.
signing_algorithm: Option<SigningAlgorithmSpec>
The signing algorithm that was used to verify the signature.
Implementations§
source§impl VerifyOutput
impl VerifyOutput
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
sourcepub fn signature_valid(&self) -> bool
pub fn signature_valid(&self) -> bool
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.
sourcepub fn signing_algorithm(&self) -> Option<&SigningAlgorithmSpec>
pub fn signing_algorithm(&self) -> Option<&SigningAlgorithmSpec>
The signing algorithm that was used to verify the signature.
source§impl VerifyOutput
impl VerifyOutput
sourcepub fn builder() -> VerifyOutputBuilder
pub fn builder() -> VerifyOutputBuilder
Creates a new builder-style object to manufacture VerifyOutput
.
Trait Implementations§
source§impl Clone for VerifyOutput
impl Clone for VerifyOutput
source§fn clone(&self) -> VerifyOutput
fn clone(&self) -> VerifyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VerifyOutput
impl Debug for VerifyOutput
source§impl PartialEq for VerifyOutput
impl PartialEq for VerifyOutput
source§fn eq(&self, other: &VerifyOutput) -> bool
fn eq(&self, other: &VerifyOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for VerifyOutput
impl RequestId for VerifyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.