/** * One verification method's durable binding: the verification-method id (the * did:web `#fragment` URL, which is also the KMS key's publicAlias) and the * KMS key id used to invoke signing. */ export interface DidWebKey { vmId: string; kmsKeyId: string; } /** * The key-id map persisted as `keys.json` in the private `key-map` collection: * the mapping from DID relationship to KMS key, since the KMS protocol has no * list-keys endpoint and key ids are server-generated. * * The one binding it carries is `authentication`, the KMS-held DIDAuth signing * key the account document republishes under the account's own controller. * * No server-held key may appear under `assertionMethod` in an account * document, because membership in that relation confers resource-log append * authority as the account, so no KMS-held assertion key exists. Nor may one * appear under `keyAgreement`, where no server-held key may be a wrap target; * a map written before that binding was retired carries a `keyAgreement` * member, which readers ignore and the genesis' rewrite drops (it constructs * the body from this type's members rather than spreading the served one). */ export interface DidWebKeyMap { authentication: DidWebKey; } /** * The bare `publicKeyMultibase` a KMS key alias or verification-method id * carries in its fragment. The KMS expanded `#{publicKeyMultibase}` at generate * time, so the fragment IS the multibase key (no separate key-description fetch * needed). * * A fragmentless id reads back whole, deliberately: a KMS key alias carrying * no `#` IS the bare multibase value. * * @param id {string} * @returns {string} */ export declare function multibaseOf(id: string): string; //# sourceMappingURL=didWeb.d.ts.map