KeyPurpose

Shawn Willden edited this page Mar 7, 2015 · 1 revision

Key Purpose

The KeyMetadata will specify a purpose for all keys within that set.

  • Decrypt and Encrypt
  • Encrypt Only
  • Sign and Verify
  • Verify

Keys cannot be used for any other purpose than what is defined by the KeyMetadata.

JSON Representation

KeyPurpose values will be represented in JSON with one of the following strings:

  • "DECRYPT_AND_ENCRYPT"
  • "ENCRYPT"
  • "SIGN_AND_VERIFY"
  • "VERIFY"
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.