Documentation ¶
Index ¶
- func ETHVerifySig(from string, sig []byte, msg []byte) bool
- func EthSignHash(data []byte) []byte
- type EthProcessor
- func (e EthProcessor) GetCredentialJsons(presentation string) ([]string, error)
- func (e EthProcessor) Sign(did string, index int, msg []byte) ([]byte, error)
- func (e EthProcessor) VerifyCredential(credential string, trustedDIDs []string) error
- func (e EthProcessor) VerifyPresentation(presentation string, requiredTypes []*modules.VCFilter) error
- func (e EthProcessor) VerifySig(did string, index int, msg []byte, sig []byte, pubkeyBytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EthSignHash ¶
Types ¶
type EthProcessor ¶
type EthProcessor struct { }
func NewEthProcessor ¶
func NewEthProcessor() *EthProcessor
func (EthProcessor) GetCredentialJsons ¶
func (e EthProcessor) GetCredentialJsons(presentation string) ([]string, error)
func (EthProcessor) VerifyCredential ¶
func (e EthProcessor) VerifyCredential(credential string, trustedDIDs []string) error
func (EthProcessor) VerifyPresentation ¶
func (e EthProcessor) VerifyPresentation(presentation string, requiredTypes []*modules.VCFilter) error
Click to show internal directories.
Click to hide internal directories.