#[non_exhaustive]pub struct VerifyOutputBuilder { /* private fields */ }
Expand description
A builder for VerifyOutput
.
Implementations§
Source§impl VerifyOutputBuilder
impl VerifyOutputBuilder
Sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
Sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
Sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.
Sourcepub fn signature_valid(self, input: bool) -> Self
pub fn signature_valid(self, input: bool) -> Self
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 set_signature_valid(self, input: Option<bool>) -> Self
pub fn set_signature_valid(self, input: Option<bool>) -> Self
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 get_signature_valid(&self) -> &Option<bool>
pub fn get_signature_valid(&self) -> &Option<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, input: SigningAlgorithmSpec) -> Self
pub fn signing_algorithm(self, input: SigningAlgorithmSpec) -> Self
The signing algorithm that was used to verify the signature.
Sourcepub fn set_signing_algorithm(self, input: Option<SigningAlgorithmSpec>) -> Self
pub fn set_signing_algorithm(self, input: Option<SigningAlgorithmSpec>) -> Self
The signing algorithm that was used to verify the signature.
Sourcepub fn get_signing_algorithm(&self) -> &Option<SigningAlgorithmSpec>
pub fn get_signing_algorithm(&self) -> &Option<SigningAlgorithmSpec>
The signing algorithm that was used to verify the signature.
Sourcepub fn build(self) -> VerifyOutput
pub fn build(self) -> VerifyOutput
Consumes the builder and constructs a VerifyOutput
.
Trait Implementations§
Source§impl Clone for VerifyOutputBuilder
impl Clone for VerifyOutputBuilder
Source§fn clone(&self) -> VerifyOutputBuilder
fn clone(&self) -> VerifyOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for VerifyOutputBuilder
impl Debug for VerifyOutputBuilder
Source§impl Default for VerifyOutputBuilder
impl Default for VerifyOutputBuilder
Source§fn default() -> VerifyOutputBuilder
fn default() -> VerifyOutputBuilder
Source§impl PartialEq for VerifyOutputBuilder
impl PartialEq for VerifyOutputBuilder
impl StructuralPartialEq for VerifyOutputBuilder
Auto Trait Implementations§
impl Freeze for VerifyOutputBuilder
impl RefUnwindSafe for VerifyOutputBuilder
impl Send for VerifyOutputBuilder
impl Sync for VerifyOutputBuilder
impl Unpin for VerifyOutputBuilder
impl UnwindSafe for VerifyOutputBuilder
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