signatures

package
v0.0.2-alpha3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(centIDBytes []byte, privateKey []byte, pubKey []byte, payload []byte) *coredocumentpb.Signature

Sign the document with the private key and return the signature along with the public key for the verification assumes that signing root for the document is generated

func VerifySignature

func VerifySignature(pubKey, message, signature []byte) error

VerifySignature verifies the signature using ed25519

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL