SignalCD Modern PoC API
Preparing search index...
client/src
ClientIdentityAdapter
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
Methods
bootstrap
Access?
bootstrap
Authorization?
decode
Envelope?
encode
Envelope?
identity
Key
Commitment?
publish
Authorization
Evidence?
resolve
Participant
sign
Control
verify
Control
Methods
Optional
bootstrap
Access
bootstrapAccess
?
(
context
:
Omit
<
IdentityEnvelopeContext
,
"participants"
>
,
)
:
Promise
<
readonly
DocumentParticipant
[]
>
Parameters
context
:
Omit
<
IdentityEnvelopeContext
,
"participants"
>
Returns
Promise
<
readonly
DocumentParticipant
[]
>
Optional
bootstrap
Authorization
bootstrapAuthorization
?
(
context
:
Omit
<
IdentityEnvelopeContext
,
"participants"
>
,
)
:
Promise
<
AuthorizationBootstrapMaterial
>
Parameters
context
:
Omit
<
IdentityEnvelopeContext
,
"participants"
>
Returns
Promise
<
AuthorizationBootstrapMaterial
>
Optional
decode
Envelope
decodeEnvelope
?
(
wire
:
Uint8Array
,
context
:
IdentityEnvelopeContext
,
)
:
Promise
<
ProtocolEnvelope
>
Parameters
wire
:
Uint8Array
context
:
IdentityEnvelopeContext
Returns
Promise
<
ProtocolEnvelope
>
Optional
encode
Envelope
encodeEnvelope
?
(
envelope
:
ProtocolEnvelope
,
context
:
IdentityEnvelopeContext
,
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Parameters
envelope
:
ProtocolEnvelope
context
:
IdentityEnvelopeContext
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Optional
identity
Key
Commitment
identityKeyCommitment
?
(
participantId
:
string
,
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
SHA-256 commitment to an independently fetched/locally held Ed25519 identity key.
Parameters
participantId
:
string
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Optional
publish
Authorization
Evidence
publishAuthorizationEvidence
?
(
context
:
Omit
<
IdentityEnvelopeContext
,
"participants"
>
,
evidence
:
AuthorizationEvidencePublish
,
)
:
Promise
<
void
>
Parameters
context
:
Omit
<
IdentityEnvelopeContext
,
"participants"
>
evidence
:
AuthorizationEvidencePublish
Returns
Promise
<
void
>
resolve
Participant
resolveParticipant
(
phoneNumber
:
string
,
role
:
DocumentRole
,
)
:
Promise
<
ResolvedParticipant
>
Parameters
phoneNumber
:
string
role
:
DocumentRole
Returns
Promise
<
ResolvedParticipant
>
sign
Control
signControl
(
bytes
:
Uint8Array
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Parameters
bytes
:
Uint8Array
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
verify
Control
verifyControl
(
actorUserId
:
string
,
bytes
:
Uint8Array
,
signature
:
Uint8Array
,
)
:
Promise
<
boolean
>
Parameters
actorUserId
:
string
bytes
:
Uint8Array
signature
:
Uint8Array
Returns
Promise
<
boolean
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
bootstrap
Access
bootstrap
Authorization
decode
Envelope
encode
Envelope
identity
Key
Commitment
publish
Authorization
Evidence
resolve
Participant
sign
Control
verify
Control
SignalCD Modern PoC API
Loading...
SHA-256 commitment to an independently fetched/locally held Ed25519 identity key.