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.
property
crypto.KeyObject.type
type: KeyObjectType