Ptype
Bun

property

crypto.webcrypto.CryptoKey.type

readonly type: KeyType

A string identifying whether the key is a symmetric ('secret') or asymmetric ('private' or 'public') key.