Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/protocol
PublicKey
Class PublicKey
Hierarchy (
View Summary
)
EllipticKey
PublicKey
Implements
PublicKeyInstance
Index
Constructors
constructor
Properties
private
Constructor
Key
Accessors
address
base58
bytes
hex
keccak256
length
Methods
verify
create
from
from
Private
is
is
Public
Key
Constructors
Protected
constructor
new
PublicKey
(
privateConstructorKey
:
string
,
bytes
:
ArrayBufferLike
)
:
PublicKey
Parameters
privateConstructorKey
:
string
bytes
:
ArrayBufferLike
Returns
PublicKey
Properties
Protected
Static
private
Constructor
Key
privateConstructorKey
:
string
Accessors
address
get
address
()
:
AddressValueInstance
Returns
AddressValueInstance
base58
get
base58
()
:
string
Returns
string
bytes
get
bytes
()
:
ArrayBuffer
|
SharedArrayBuffer
Returns
ArrayBuffer
|
SharedArrayBuffer
hex
get
hex
()
:
Lowercase
<
string
>
Returns
Lowercase
<
string
>
keccak256
get
keccak256
()
:
ArrayBufferLike
Returns
ArrayBufferLike
length
get
length
()
:
number
Returns
number
Methods
verify
verify
(
msg
:
ArrayBuffer
,
signature
:
ArrayBuffer
)
:
Promise
<
boolean
>
Parameters
msg
:
ArrayBuffer
signature
:
ArrayBuffer
Returns
Promise
<
boolean
>
Static
create
create
(
bytes
:
ArrayBufferLike
)
:
Promise
<
PublicKey
>
Parameters
bytes
:
ArrayBufferLike
Returns
Promise
<
PublicKey
>
Static
from
from
(
data
:
undefined
|
ArrayBuffer
)
:
undefined
|
Data
Parameters
data
:
undefined
|
ArrayBuffer
Returns
undefined
|
Data
Static
from
Private
fromPrivate
(
bytes
:
bigint
|
ArrayBufferLike
)
:
Promise
<
PublicKeyInstance
>
Parameters
bytes
:
bigint
|
ArrayBufferLike
Returns
Promise
<
PublicKeyInstance
>
Static
is
is
(
value
:
unknown
)
:
value
is
AbstractData
Parameters
value
:
unknown
Returns
value
is
AbstractData
Static
is
Public
Key
isPublicKey
(
value
:
unknown
)
:
boolean
Parameters
value
:
unknown
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
private
Constructor
Key
Accessors
address
base58
bytes
hex
keccak256
length
Methods
verify
create
from
from
Private
is
is
Public
Key
XYO Platform SDK - v3.6.9
Loading...