Documentation
    Preparing search index...

    Represents a DID URL object.

    interface ISigner<Export extends CryptoKeyPair | string = string> {
        did: DID;
        didObject: DIDURLObject;
        didUrl: DIDURL;
        document: DIDDocument;
        export: () => Export;
        sign: (
            message: Uint8Array<ArrayBuffer>,
        ) => Promise<Uint8Array<ArrayBuffer>>;
        signatureType: SignatureType;
        toString: () => DIDURL;
        verifiableDid: DIDKey | DIDPkh;
    }

    Type Parameters

    • Export extends CryptoKeyPair | string = string

    Hierarchy (View Summary)

    Index

    Properties

    did: DID

    DID String - top level DID

    "did:web:example.com"
    
    didObject: DIDURLObject

    DID URL Object

    didUrl: DIDURL

    DID URL string

    "did:web:example.com#fragment1?query=value"
    
    document: DIDDocument

    DID Document

    export: () => Export
    sign: (message: Uint8Array<ArrayBuffer>) => Promise<Uint8Array<ArrayBuffer>>
    signatureType: SignatureType
    toString: () => DIDURL

    Returns the DID URL

    verifiableDid: DIDKey | DIDPkh

    Verifiable DID - resolved from the did