Search
Preparing search index...
The search index is not available
@dfinity/agent
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@dfinity/agent
Ed25519PublicKey
Class Ed25519PublicKey
Hierarchy
Ed25519PublicKey
Implements
PublicKey
Index
Constructors
constructor
Properties
#der
Key
#raw
Key
RAW_
KEY_
LENGTH
Accessors
der
Key
raw
Key
Methods
to
Der
to
Raw
der
Decode
der
Encode
from
from
Der
from
Raw
Constructors
Private
constructor
new
Ed25519
Public
Key
(
key
:
ArrayBuffer
)
:
Ed25519PublicKey
Parameters
key:
ArrayBuffer
Returns
Ed25519PublicKey
Properties
Private
#der
Key
#der
Key
:
DerEncodedPublicKey
Private
#raw
Key
#raw
Key
:
ArrayBuffer
Static
Private
RAW_
KEY_
LENGTH
RAW_
KEY_
LENGTH
:
number
= 32
Accessors
der
Key
get
derKey
(
)
:
DerEncodedPublicKey
Returns
DerEncodedPublicKey
raw
Key
get
rawKey
(
)
:
ArrayBuffer
Returns
ArrayBuffer
Methods
to
Der
to
Der
(
)
:
DerEncodedPublicKey
Returns
DerEncodedPublicKey
to
Raw
to
Raw
(
)
:
ArrayBuffer
Returns
ArrayBuffer
Static
Private
der
Decode
der
Decode
(
key
:
DerEncodedPublicKey
)
:
ArrayBuffer
Parameters
key:
DerEncodedPublicKey
Returns
ArrayBuffer
Static
Private
der
Encode
der
Encode
(
publicKey
:
ArrayBuffer
)
:
DerEncodedPublicKey
Parameters
publicKey:
ArrayBuffer
Returns
DerEncodedPublicKey
Static
from
from
(
key
:
PublicKey
)
:
Ed25519PublicKey
Parameters
key:
PublicKey
Returns
Ed25519PublicKey
Static
from
Der
from
Der
(
derKey
:
DerEncodedPublicKey
)
:
Ed25519PublicKey
Parameters
derKey:
DerEncodedPublicKey
Returns
Ed25519PublicKey
Static
from
Raw
from
Raw
(
rawKey
:
ArrayBuffer
)
:
Ed25519PublicKey
Parameters
rawKey:
ArrayBuffer
Returns
Ed25519PublicKey
Exports
Canister
Status
Cbor
polling
Ed25519
Public
Key
constructor
#der
Key
#raw
Key
RAW_
KEY_
LENGTH
der
Key
raw
Key
to
Der
to
Raw
der
Decode
der
Encode
from
from
Der
from
Raw
Generated using
TypeDoc