SignalCD Modern PoC API
    Preparing search index...

    Interface ClientIdentityAdapter

    interface ClientIdentityAdapter {
        bootstrapAccess?(
            context: Omit<IdentityEnvelopeContext, "participants">,
        ): Promise<readonly DocumentParticipant[]>;
        bootstrapAuthorization?(
            context: Omit<IdentityEnvelopeContext, "participants">,
        ): Promise<AuthorizationBootstrapMaterial>;
        decodeEnvelope?(
            wire: Uint8Array,
            context: IdentityEnvelopeContext,
        ): Promise<ProtocolEnvelope>;
        encodeEnvelope?(
            envelope: ProtocolEnvelope,
            context: IdentityEnvelopeContext,
        ): Promise<Uint8Array<ArrayBufferLike>>;
        identityKeyCommitment?(
            participantId: string,
        ): Promise<Uint8Array<ArrayBufferLike>>;
        publishAuthorizationEvidence?(
            context: Omit<IdentityEnvelopeContext, "participants">,
            evidence: AuthorizationEvidencePublish,
        ): Promise<void>;
        resolveParticipant(
            phoneNumber: string,
            role: DocumentRole,
        ): Promise<ResolvedParticipant>;
        signControl(bytes: Uint8Array): Promise<Uint8Array<ArrayBufferLike>>;
        verifyControl(
            actorUserId: string,
            bytes: Uint8Array,
            signature: Uint8Array,
        ): Promise<boolean>;
    }
    Index