method
crypto.webcrypto.SubtleCrypto.exportKey
format: 'spki' | 'pkcs8' | 'raw-public' | 'raw-seed' | 'raw' | 'raw-secret',
Referenced types
interface CryptoKey
class ArrayBuffer
Represents a raw buffer of binary data, which is used to store data for the different typed arrays. ArrayBuffers cannot be read from or written to directly, but can be passed to a typed array or DataView Object to interpret the raw buffer as needed.
type KeyFormat =
| 'jwk'
| 'pkcs8'
| 'raw'
| 'raw-public'
| 'raw-secret'
| 'raw-seed'
| 'spki'