Documentation ¶
Index ¶
- Constants
- type SuiProcessor
- func (s SuiProcessor) GetCredentialJsons(presentation string) ([]string, error)
- func (s SuiProcessor) Sign(did string, index int, msg []byte) ([]byte, error)
- func (s SuiProcessor) VerifyCredential(credential string, trustedDIDs []string) error
- func (s SuiProcessor) VerifyPresentation(presentation string, requiredTypes []*modules.VCFilter) error
- func (s SuiProcessor) VerifySig(did string, index int, msg []byte, sig []byte, pubkeyBytes []byte) error
- func (s SuiProcessor) VerifySigEIP712(did string, index int, msg []byte, sig []byte, pubkeyBytes []byte, ...) error
Constants ¶
View Source
const (
ADDRESS_LENGTH = 64
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SuiProcessor ¶
type SuiProcessor struct{}
func NewSuiProcessor ¶
func NewSuiProcessor() *SuiProcessor
func (SuiProcessor) GetCredentialJsons ¶
func (s SuiProcessor) GetCredentialJsons(presentation string) ([]string, error)
func (SuiProcessor) VerifyCredential ¶
func (s SuiProcessor) VerifyCredential(credential string, trustedDIDs []string) error
func (SuiProcessor) VerifyPresentation ¶
func (s SuiProcessor) VerifyPresentation(presentation string, requiredTypes []*modules.VCFilter) error
Click to show internal directories.
Click to hide internal directories.