package
Version:
v0.0.0-...-e707d1a
Opens a new window with list of versions in this module.
Published: Sep 18, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type SignerVerifier struct{}
SignerVerifier implements methods to Sign and Verify signatures
Sign signs message using secretSeed. Returns base64-encoded signature.
Verify verifies if signature is a valid signature of message signed by publicKey.
SignerVerifierInterface is the interface that helps mocking SignerVerifier
Source Files
¶
Click to show internal directories.
Click to hide internal directories.