@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
41 lines (40 loc) • 1.12 kB
text/typescript
import { DidDocument } from "./domain/DidDocument.mjs";
import "./domain/index.mjs";
//#region src/modules/dids/DidsApiOptions.d.ts
interface DidDocumentKey {
/**
* The key id of the key in the kms associated with the
*/
kmsKeyId: string;
/**
* The key id
*/
didDocumentRelativeKeyId: string;
}
interface ImportDidOptions {
/**
* The did to import.
*/
did: string;
/**
* Optional did document to import. If not provided, the did document will be resolved using the did resolver.
*/
didDocument?: DidDocument;
/**
* List of keys associated with the did document, that are managed by the kms of this agent.
*
* NOTE: if no keys are provided, it is not possible to sign or encrypt with keys in the imported
* did document.
*/
keys?: DidDocumentKey[];
/**
* Whether to overwrite an existing did record if it exists. If set to false,
* an error will be thrown if the did record already exists.
*
* @default false
*/
overwrite?: boolean;
}
//#endregion
export { DidDocumentKey, ImportDidOptions };
//# sourceMappingURL=DidsApiOptions.d.mts.map