#[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§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.impl StructuralPartialEq for VerifyOutput
Auto Trait Implementations§
impl Freeze for VerifyOutput
impl RefUnwindSafe for VerifyOutput
impl Send for VerifyOutput
impl Sync for VerifyOutput
impl Unpin for VerifyOutput
impl UnwindSafe for VerifyOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more