Skip to main content
Version: 3.13.0

type

The read-only type property 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 symmetric algorithm.
  • "private": This key is the private half of an asymmetric algorithm's key pair.
  • "public": This key is the public half of an asymmetric algorithm's key pair.

Value

One of the following strings: "secret", "private", or "public".