AutomergeKeychainProvider
Defined in: automerge/src/peerborne-automerge.ts:1801
Implements
Section titled “Implements”KeychainProvider<BinaryChange[],CryptoKey>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AutomergeKeychainProvider():
AutomergeKeychainProvider
Returns
Section titled “Returns”AutomergeKeychainProvider
Properties
Section titled “Properties”initialInvitationCapacityProfile
Section titled “initialInvitationCapacityProfile”
readonlyinitialInvitationCapacityProfile:"peerborne-automerge-json-subtle-p384-v1"=INITIAL_INVITATION_CAPACITY_PROFILE
Defined in: automerge/src/peerborne-automerge.ts:1804
keyIDLength
Section titled “keyIDLength”
readonlykeyIDLength:32=KEY_ID_LENGTH_BYTES
Defined in: automerge/src/peerborne-automerge.ts:1816
Number of bytes reserved on the wire for the key ID prefix on every
encrypted block, and the byte width of all key IDs emitted by
Keychain.add() / Keychain.addEpochKey(). The two provisioning
paths use the SAME width so the wire-format key-ID prefix is a
single fixed size and no truncation step exists between
BeeKEM-derived epoch IDs and the keychain’s storage key.
Implementation of
Section titled “Implementation of”KeychainProvider.keyIDLength
Methods
Section titled “Methods”initialize()
Section titled “initialize()”initialize():
AutomergeKeychain
Defined in: automerge/src/peerborne-automerge.ts:1807
Construct a new Keychain object. Each call must return an independent keychain that shares no mutable state with any other keychain; invitation bootstrap stages untrusted key material in a fresh instance and relies on discarding it when the bootstrap fails.
Returns
Section titled “Returns”A new Keychain object.
Implementation of
Section titled “Implementation of”KeychainProvider.initialize