Uses of Record Class
ai.badmonkey.agentspaces.common.crypto.GroupKeyWrap.WrappedKey
Packages that use GroupKeyWrap.WrappedKey
Package
Description
Crypto helpers: SHA-256 digests and Ed25519 (RFC 8032) signing over the JDK's
built-in providers.
-
Uses of GroupKeyWrap.WrappedKey in ai.badmonkey.agentspaces.common.crypto
Methods in ai.badmonkey.agentspaces.common.crypto that return GroupKeyWrap.WrappedKeyModifier and TypeMethodDescriptionstatic GroupKeyWrap.WrappedKeyWraps a group key for one recipient.static GroupKeyWrap.WrappedKeyWraps a group key for one recipient, bound to one exchange (spec §11a.2, v2): the binding digest salts the derivation and is the associated data, so a wrap made for one request, holder, requester, group, or epoch opens for no other.Methods in ai.badmonkey.agentspaces.common.crypto with parameters of type GroupKeyWrap.WrappedKeyModifier and TypeMethodDescriptionGroupKeyWrap.unwrap(GroupKeyWrap.WrappedKey wrapped, PrivateKey recipientPrivate, byte[] recipientPublicKey) Unwraps a sealed group key.GroupKeyWrap.unwrapBound(GroupKeyWrap.WrappedKey wrapped, PrivateKey recipientPrivate, byte[] recipientPublicKey, byte[] binding) Unwraps a key sealed byGroupKeyWrap.wrapBound(GroupKey, byte[], byte[]); the binding must be the one the recipient expects for this exchange, byte for byte.GroupKeyWrap.unwrapBound(GroupKeyWrap.WrappedKey wrapped, UnaryOperator<byte[]> agree, byte[] recipientPublicKey, byte[] binding) AsGroupKeyWrap.unwrapBound(WrappedKey, PrivateKey, byte[], byte[]), with the key agreement supplied by the recipient's identity, so its private key never leaves it (per-agent key wrap, SPEC §11a.2, v0.1.13).