Struct aws_sdk_kms::operation::verify::builders::VerifyOutputBuilder
source · #[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
source§fn eq(&self, other: &VerifyOutputBuilder) -> bool
fn eq(&self, other: &VerifyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.