Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶
type Calculator struct {
// contains filtered or unexported fields
}
func NewCalculator ¶
func NewCalculator(key []byte) Calculator
func (Calculator) ArbitrarySignature ¶
func (c Calculator) ArbitrarySignature(msg []byte) string
func (Calculator) PassportVerificationSignature ¶
func (c Calculator) PassportVerificationSignature(nullifier, anonymousID string) (string, error)
func (Calculator) QREventSignature ¶
func (c Calculator) QREventSignature(nullifier, eventID, qrCode string) (string, error)
type SigCalculatorProvider ¶
type SigCalculatorProvider interface {
SigCalculator() Calculator
}
func NewCalculatorProvider ¶
func NewCalculatorProvider(getter kv.Getter) SigCalculatorProvider
Click to show internal directories.
Click to hide internal directories.