Ptype
Bun

property

crypto.KeyObject.type

type: KeyObjectType

Depending on the type of this KeyObject, this property is either'secret' for secret (symmetric) keys, 'public' for public (asymmetric) keys or 'private' for private (asymmetric) keys.