@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
PublicKeyStorage
Interface PublicKeyStorage
Public Keys should have a mechanism to get the ASN.1 encoded value
interface
PublicKeyStorage
{
ASN1
:
BufferStorageASN1
<
publicKeyASN1
>
;
storageKind
:
string
;
get
length
()
:
number
;
compare
(
compareWith
:
undefined
|
null
|
PublicKeyStorage
)
:
boolean
;
compareHexString
(
compareWith
:
undefined
|
null
|
string
|
BufferStorage
,
)
:
boolean
;
get
()
:
ArrayBuffer
;
getBuffer
()
:
Buffer
;
toBigInt
()
:
bigint
;
toString
(
encoding
?:
"base64"
|
"hex"
|
"base32"
)
:
string
;
}
Hierarchy (
View Summary
)
BufferStorage
PublicKeyStorage
Implemented by
ECDSASECP256K1PublicKey
ECDSASECP256R1PublicKey
ED25519PublicKey
IdentifierKey
Index
Properties
P
ASN1
P
storage
Kind
Accessors
A
length
Methods
M
compare
M
compare
Hex
String
M
get
M
get
Buffer
M
to
Big
Int
M
to
String
Properties
ASN1
ASN1
:
BufferStorageASN1
<
publicKeyASN1
>
Readonly
storage
Kind
storageKind
:
string
= 'GenericBuffer'
Accessors
length
get
length
()
:
number
Returns
number
Methods
compare
compare
(
compareWith
:
undefined
|
null
|
PublicKeyStorage
)
:
boolean
Parameters
compareWith
:
undefined
|
null
|
PublicKeyStorage
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
Properties
P
ASN1
P
storage
Kind
Accessors
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