Documentation
    Preparing search index...

    Class DIDKey

    did:key Method

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    code: 231 | 237 | 4608 | 4609 | 4610 | 4613
    did: DID
    didObject: DIDURLObject
    didUrl: DIDURL
    fragment: undefined | string
    id: string
    method: string
    path: undefined | string
    publicKey: Uint8Array<ArrayBuffer>
    query: undefined | string
    type: "RSA" | "Ed25519" | "P-256" | "P-384" | "P-521" | "secp256k1"
    verifiableDid: DIDKey

    Accessors

    Methods

    • Create a DIDKey from a public key bytes

      Parameters

      • type: "RSA" | "Ed25519" | "P-256" | "P-384" | "P-521" | "secp256k1"
      • key: Uint8Array<ArrayBuffer>

      Returns DIDKey