Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

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"
Clone this wiki locally