Preparing search index...
The search index is not available
welo
welo
index
Identity
Class Identity
Implements
IdentityInstance
<
IdentityValue
>
Index
Constructors
constructor
Properties
auth
block
id
name?
pub
pubkey
sig
Methods
sign
verify
Constructors
constructor
new
Identity
(
__namedParameters
)
:
Identity
Parameters
__namedParameters
:
{
block
:
BlockView
<
IdentityValue
,
number
,
number
,
1
>
;
name
?:
string
;
priv
?:
PrivateKey
;
pubkey
:
PublicKey
;
}
block
:
BlockView
<
IdentityValue
,
number
,
number
,
1
>
Optional
name
?:
string
Optional
priv
?:
PrivateKey
pubkey
:
PublicKey
Returns
Identity
Properties
Readonly
auth
auth
:
CID
<
unknown
,
number
,
number
,
Version
>
block
block
:
BlockView
<
IdentityValue
,
number
,
number
,
1
>
Readonly
id
id
:
Uint8Array
Optional
name
name
?:
string
Readonly
pub
pub
:
Uint8Array
pubkey
pubkey
:
PublicKey
Readonly
sig
sig
:
Uint8Array
Methods
sign
sign
(
data
)
:
Promise
<
Uint8Array
>
Parameters
data
:
Uint8Array
Returns
Promise
<
Uint8Array
>
verify
verify
(
data
,
sig
)
:
Promise
<
boolean
>
Parameters
data
:
Uint8Array
sig
:
Uint8Array
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
auth
block
id
name
pub
pubkey
sig
sign
verify
welo
database
index
index
interface
welo
Generated using
TypeDoc