Versions in this module Expand all Collapse all v0 v0.1.0 May 23, 2022 Changes in this version + const Reset + const Revoke + const TypeRevocationList2020 + const TypeRevocationList2020Status + type CredentialStatus interface + Coordinates func() (string, int) + TypeDef func() (string, string) + func NewCredentialStatus(rlCredential string, rlIndex int) CredentialStatus + type CredentialStatusJSON struct + ID string + RevocationListCredential string + RevocationListIndex int + Type string + func (cs CredentialStatusJSON) Coordinates() (string, int) + func (cs CredentialStatusJSON) TypeDef() (string, string) + type RevocationList2020 struct + EncodedList string + ID string + Type string + func NewRevocationList(id string, kbSize int) (rl RevocationList2020, err error) + func NewRevocationListFromJSON(data []byte) (rl RevocationList2020, err error) + func (rl *RevocationList2020) Reset(credentials ...int) (err error) + func (rl *RevocationList2020) Revoke(credentials ...int) (err error) + func (rl *RevocationList2020) Update(action bool, indexes ...int) (err error) + func (rl RevocationList2020) BitSet() []byte + func (rl RevocationList2020) Capacity() int + func (rl RevocationList2020) GetBytes() ([]byte, error) + func (rl RevocationList2020) IsRevoked(status CredentialStatus) (isIt bool, err error) + func (rl RevocationList2020) Size() int