Skip to content

KeyModesOfUse

Source code in docs_src/capo_payment_cryptography/types/key_modes_of_use.py
class KeyModesOfUse(TypedDict, closed=True):
    encrypt: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.</p>"""
    decrypt: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.</p>"""
    wrap: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.</p>"""
    unwrap: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.</p>"""
    generate: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.</p>"""
    sign: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.</p>"""
    verify: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.</p>"""
    derive_key: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.</p>"""
    no_restrictions: "bool"
    """<p>Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by <code>KeyUsage</code>.</p>"""

decrypt instance-attribute

decrypt: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.

derive_key instance-attribute

derive_key: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.

encrypt instance-attribute

encrypt: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.

generate instance-attribute

generate: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.

no_restrictions instance-attribute

no_restrictions: bool

Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by KeyUsage.

sign instance-attribute

sign: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.

unwrap instance-attribute

unwrap: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.

verify instance-attribute

verify: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.

wrap instance-attribute

wrap: bool

Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.