DIDPrism

fmgp.did.method.prism.DIDPrism
See theDIDPrism companion class
object DIDPrism

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DIDPrism.type

Members list

Inherited
  • Not inherited
  • Mirror

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromSSI(ssi: SSI): DIDPrism

Syntax

Syntax

 prism-did          = "did:prism:" initial-hash [encoded-state]
 initial-hash       = 64HEXDIGIT
 encoded-state      = ":" 1*id-char
 id-char            = ALPHA / DIGIT / "-" / "_"

Attributes

Givens

Givens

given decoder: JsonDecoder[DIDPrism]
given encoder: JsonEncoder[DIDPrism]