IFClite TypeScript API
Guides
Packages
Preparing search index...
@ifc-lite/extensions
importKey
Function importKey
importKey
(
serialised
:
SerialisedKey
,
)
:
Promise
<
|
KeyPair
|
{
algorithm
:
"ed25519"
;
fingerprint
:
string
;
label
?:
string
;
publicKey
:
CryptoKey
;
publicKeyBytes
:
Uint8Array
;
}
,
>
Import a serialised
.iflk
(either public or private) back into a live key handle.
Parameters
serialised
:
SerialisedKey
Returns
Promise
<
|
KeyPair
|
{
algorithm
:
"ed25519"
;
fingerprint
:
string
;
label
?:
string
;
publicKey
:
CryptoKey
;
publicKeyBytes
:
Uint8Array
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Guides
Packages
IFClite TypeScript API
Loading...
Import a serialised
.iflk(either public or private) back into a live key handle.