Documentation ¶
Overview ¶
Package doc implements sidetree document
Index ¶
Constants ¶
View Source
const ( // KeyPurposeAuthentication defines key purpose as authentication key. KeyPurposeAuthentication = "authentication" // KeyPurposeAssertionMethod defines key purpose as assertion key. KeyPurposeAssertionMethod = "assertionMethod" // KeyPurposeKeyAgreement defines key purpose as agreement key. KeyPurposeKeyAgreement = "keyAgreement" // KeyPurposeCapabilityDelegation defines key purpose as delegation key. KeyPurposeCapabilityDelegation = "capabilityDelegation" // KeyPurposeCapabilityInvocation defines key purpose as invocation key. KeyPurposeCapabilityInvocation = "capabilityInvocation" // JWSVerificationKey2020 defines key type signature. JWSVerificationKey2020 = "JwsVerificationKey2020" // JWK2020Type defines key type for JWK public keys. JWK2020Type = "JsonWebKey2020" // Ed25519VerificationKey2018 define key type signature. Ed25519VerificationKey2018 = "Ed25519VerificationKey2018" )
Variables ¶
This section is empty.
Functions ¶
func PopulateRawAlsoKnownAs ¶
func PopulateRawAlsoKnownAs(alsoKnownAs []string) []interface{}
PopulateRawAlsoKnownAs populates raw also known as.
func PopulateRawPublicKeys ¶
PopulateRawPublicKeys populate raw public keys.
Types ¶
Click to show internal directories.
Click to hide internal directories.