Skip to content

Class swarmauri_core.crypto.types.WrappedKey

swarmauri_core.crypto.types.WrappedKey dataclass

WrappedKey(
    kek_kid,
    kek_version,
    wrap_alg,
    wrapped,
    nonce=None,
    tag=None,
)

Result of wrapping a DEK with a KEK. - wrap_alg: e.g., "AES-KW" / "AES-KWP" / "RSA-OAEP" - nonce: optional for schemes that use IVs (not AES-KW) - tag: optional authentication tag for AEAD-based wrapping

kek_kid instance-attribute

kek_kid

kek_version instance-attribute

kek_version

wrap_alg instance-attribute

wrap_alg

wrapped instance-attribute

wrapped

nonce class-attribute instance-attribute

nonce = None

tag class-attribute instance-attribute

tag = None