@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
ED25519PublicKey
Class ED25519PublicKey
Public Keys should have a mechanism to get the ASN.1 encoded value
Hierarchy (
View Summary
)
KeyStorage
ED25519PublicKey
Implements
PublicKeyStorage
Index
Constructors
C
constructor
Properties
P
storage
Kind
P
is
Instance
Accessors
A
ASN1
A
length
Methods
M
compare
M
compare
Hex
String
M
get
M
get
Buffer
M
to
Big
Int
M
to
String
Constructors
constructor
new
ED25519PublicKey
(
key
:
string
|
bigint
|
ArrayBuffer
)
:
ED25519PublicKey
Parameters
key
:
string
|
bigint
|
ArrayBuffer
Returns
ED25519PublicKey
Properties
Readonly
storage
Kind
storageKind
:
string
= 'GenericBuffer'
Static
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
)
=>
obj
is
ED25519PublicKey
= ...
Accessors
ASN1
get
ASN1
()
:
BufferStorageASN1
<
publicKeyASN1
,
undefined
>
Returns
BufferStorageASN1
<
publicKeyASN1
,
undefined
>
length
get
length
()
:
number
Returns
number
Methods
compare
compare
(
compareWith
:
undefined
|
null
|
ED25519PublicKey
)
:
boolean
Parameters
compareWith
:
undefined
|
null
|
ED25519PublicKey
Returns
boolean
compare
Hex
String
compareHexString
(
compareWith
:
undefined
|
null
|
string
|
BufferStorage
,
)
:
boolean
Parameters
compareWith
:
undefined
|
null
|
string
|
BufferStorage
Returns
boolean
get
get
()
:
ArrayBuffer
Returns
ArrayBuffer
get
Buffer
getBuffer
()
:
Buffer
Returns
Buffer
to
Big
Int
toBigInt
()
:
bigint
Returns
bigint
to
String
toString
(
encoding
?:
"base64"
|
"hex"
|
"base32"
)
:
string
Parameters
encoding
:
"base64"
|
"hex"
|
"base32"
= 'hex'
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
storage
Kind
P
is
Instance
Accessors
A
ASN1
A
length
Methods
M
compare
M
compare
Hex
String
M
get
M
get
Buffer
M
to
Big
Int
M
to
String
@keetanetwork/keetanet-client
Loading...
Public Keys should have a mechanism to get the ASN.1 encoded value