Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2020 Changes in this version + const KeyIDSize + const NonceSize + const OwnerSize + var Rand = rand.Reader + type Token struct + Flag bool + KeyID []byte + Nonce []byte + Owner []byte + PointRX []byte + PointRY []byte + ScalarR []byte + ScalarS []byte + func New(KeyID *[signkeys.KeyIDSize]byte, Owner *[ed25519.PublicKeySize]byte) *Token + func Unmarshal(d []byte) (*Token, error) + func (t *Token) AddSignature(signature *jjm.ClearSignature) + func (t *Token) GetSignature() *jjm.ClearSignature + func (t Token) HasOwner() bool + func (t Token) Hash() []byte + func (t Token) Marshal() ([]byte, error) + func (t Token) Properties() (keyid *[signkeys.KeyIDSize]byte, owner *[ed25519.PublicKeySize]byte)