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 ¶
VerifySignature verifies the signature using ed25519
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.