type property
KeyType
get
type
The read-only type property of the CryptoKey interface indicates
which kind of key is represented by the object. It can have the following
values:
"secret": This key is a secret key for use with a ."private": This key is the private half of anCryptoKeyPair."public": This key is the public half of anCryptoKeyPair.
Implementation
external KeyType get type;