exportKeyAsync
open external fun exportKeyAsync(format: KeyFormat.jwk, key: CryptoKey): Promise<JsonWebKey>(source)
The exportKey() method of the SubtleCrypto interface exports a key: that is, it takes as input a CryptoKey object and gives you the key in an external, portable format.