PrismDIDKeyUsage
@hyperledger/identus-sdk v8.0.0
@hyperledger/identus-sdk / overview / Domain / PrismDIDKeyUsage
Variable: PrismDIDKeyUsage
constPrismDIDKeyUsage: {AUTHENTICATION_KEY:4;CAPABILITY_DELEGATION_KEY:7;CAPABILITY_INVOCATION_KEY:6;ISSUING_KEY:2;KEY_AGREEMENT_KEY:3;MASTER_KEY:1;REVOCATION_KEY:5;UNKNOWN_KEY:0; }
Defined in: packages/shared/domain/build/index.d.ts:1849
Mirrors io.iohk.atala.prism.protos.KeyUsage from the auto-generated
protobuf code. Defined locally to keep the proto namespace (which contains
ES #private fields) out of the DTS rollup graph — rollup-plugin-dts
cannot handle #private inside namespace class declarations.
The satisfies clause below guarantees at compile time that every member
matches the proto definition — if the proto enum changes, tsc will error.