- Preparing search index...
- The search index is not available
polykey
- importKeyPair(__namedParameters): Promise<CryptoKeyPair>
-
Parameters
-
__namedParameters: {
privateKey: BufferSource;
publicKey: BufferSource;
}
-
privateKey: BufferSource
-
publicKey: BufferSource
Returns Promise<CryptoKeyPair>
Imports Ed25519
CryptoKeyPair
from key pair buffer. If any of the keys are alreadyCryptoKey
, then this will return them.