#[non_exhaustive]pub struct KeyModesOfUseBuilder { /* private fields */ }
Expand description
A builder for KeyModesOfUse
.
Implementations§
source§impl KeyModesOfUseBuilder
impl KeyModesOfUseBuilder
sourcepub fn encrypt(self, input: bool) -> Self
pub fn encrypt(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
sourcepub fn set_encrypt(self, input: Option<bool>) -> Self
pub fn set_encrypt(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
sourcepub fn get_encrypt(&self) -> &Option<bool>
pub fn get_encrypt(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.
sourcepub fn decrypt(self, input: bool) -> Self
pub fn decrypt(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
sourcepub fn set_decrypt(self, input: Option<bool>) -> Self
pub fn set_decrypt(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
sourcepub fn get_decrypt(&self) -> &Option<bool>
pub fn get_decrypt(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.
sourcepub fn wrap(self, input: bool) -> Self
pub fn wrap(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
sourcepub fn set_wrap(self, input: Option<bool>) -> Self
pub fn set_wrap(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
sourcepub fn get_wrap(&self) -> &Option<bool>
pub fn get_wrap(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.
sourcepub fn unwrap(self, input: bool) -> Self
pub fn unwrap(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
sourcepub fn set_unwrap(self, input: Option<bool>) -> Self
pub fn set_unwrap(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
sourcepub fn get_unwrap(&self) -> &Option<bool>
pub fn get_unwrap(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.
sourcepub fn generate(self, input: bool) -> Self
pub fn generate(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
sourcepub fn set_generate(self, input: Option<bool>) -> Self
pub fn set_generate(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
sourcepub fn get_generate(&self) -> &Option<bool>
pub fn get_generate(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.
sourcepub fn sign(self, input: bool) -> Self
pub fn sign(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
sourcepub fn set_sign(self, input: Option<bool>) -> Self
pub fn set_sign(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
sourcepub fn get_sign(&self) -> &Option<bool>
pub fn get_sign(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.
sourcepub fn verify(self, input: bool) -> Self
pub fn verify(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
sourcepub fn set_verify(self, input: Option<bool>) -> Self
pub fn set_verify(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
sourcepub fn get_verify(&self) -> &Option<bool>
pub fn get_verify(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.
sourcepub fn derive_key(self, input: bool) -> Self
pub fn derive_key(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
sourcepub fn set_derive_key(self, input: Option<bool>) -> Self
pub fn set_derive_key(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
sourcepub fn get_derive_key(&self) -> &Option<bool>
pub fn get_derive_key(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.
sourcepub fn no_restrictions(self, input: bool) -> Self
pub fn no_restrictions(self, input: bool) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage
.
sourcepub fn set_no_restrictions(self, input: Option<bool>) -> Self
pub fn set_no_restrictions(self, input: Option<bool>) -> Self
Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage
.
sourcepub fn get_no_restrictions(&self) -> &Option<bool>
pub fn get_no_restrictions(&self) -> &Option<bool>
Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage
.
sourcepub fn build(self) -> KeyModesOfUse
pub fn build(self) -> KeyModesOfUse
Consumes the builder and constructs a KeyModesOfUse
.
Trait Implementations§
source§impl Clone for KeyModesOfUseBuilder
impl Clone for KeyModesOfUseBuilder
source§fn clone(&self) -> KeyModesOfUseBuilder
fn clone(&self) -> KeyModesOfUseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KeyModesOfUseBuilder
impl Debug for KeyModesOfUseBuilder
source§impl Default for KeyModesOfUseBuilder
impl Default for KeyModesOfUseBuilder
source§fn default() -> KeyModesOfUseBuilder
fn default() -> KeyModesOfUseBuilder
source§impl PartialEq for KeyModesOfUseBuilder
impl PartialEq for KeyModesOfUseBuilder
source§fn eq(&self, other: &KeyModesOfUseBuilder) -> bool
fn eq(&self, other: &KeyModesOfUseBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.