Module: Sidetree::OP::PublicKeyPurpose

Defined in:
lib/sidetree/op.rb

Overview

DID Document public key purpose.

Constant Summary collapse

AUTHENTICATION =
"authentication"
ASSERTION_METHOD =
"assertionMethod"
CAPABILITY_INVOCATION =
"capabilityInvocation"
CAPABILITY_DELEGATION =
"capabilityDelegation"
KEY_AGREEMENT =
"keyAgreement"

Class Method Summary collapse

Class Method Details

.valuesObject



29
30
31
# File 'lib/sidetree/op.rb', line 29

def values
  PublicKeyPurpose.constants.map { |c| PublicKeyPurpose.const_get(c) }
end