Versions in this module Expand all Collapse all v0 v0.8.2 Feb 4, 2023 v0.7.2 Feb 4, 2023 Changes in this version + var ErrInvalidWitness = errors.New("invalid witness") + type Vector interface + FromAssignment func(assignment interface{}, leafType reflect.Type, publicOnly bool) (*schema.Schema, error) + Len func() int + ToAssignment func(assigment interface{}, leafType reflect.Type, publicOnly bool) + Type func() reflect.Type + type Witness struct + CurveID ecc.ID + Schema *schema.Schema + Vector Vector + func New(curveID ecc.ID, schema *schema.Schema) (*Witness, error) + func (w *Witness) MarshalBinary() (data []byte, err error) + func (w *Witness) MarshalJSON() (r []byte, err error) + func (w *Witness) Public() (*Witness, error) + func (w *Witness) UnmarshalBinary(data []byte) error + func (w *Witness) UnmarshalJSON(data []byte) error