Documentation ¶ Index ¶ func Authenticate(diddoc []byte, data []byte, sig string) (bool, error) func GetDidDocument(data string) (*did.Doc, error) func GetDidDocumentAuthentication(data []byte) (*ecdsa.PublicKey, error) func RecoverKey(data string, sig string) ([]byte, string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Authenticate ¶ func Authenticate(diddoc []byte, data []byte, sig string) (bool, error) func GetDidDocument ¶ func GetDidDocument(data string) (*did.Doc, error) func GetDidDocumentAuthentication ¶ added in v0.5.0 func GetDidDocumentAuthentication(data []byte) (*ecdsa.PublicKey, error) func RecoverKey ¶ func RecoverKey(data string, sig string) ([]byte, string, error) Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.