Documentation ¶
Index ¶
- func SingleSignerAuthKey(publicKey []byte) [32]byte
- type AptosAccountResp
- type AptosProcessor
- func (apt *AptosProcessor) GetAccountAuthKeyOnChain(address string) (string, error)
- func (apt *AptosProcessor) GetCredentialJsons(presentation string) ([]string, error)
- func (apt *AptosProcessor) Sign(did string, index int, msg []byte) ([]byte, error)
- func (apt *AptosProcessor) VerifyCredential(credential string, trustedDIDs []string) error
- func (apt *AptosProcessor) VerifyPresentation(presentation string, requiredTypes []*modules.VCFilter) error
- func (apt *AptosProcessor) VerifySig(did string, index int, msg []byte, sig []byte, pubkeyBytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SingleSignerAuthKey ¶
Types ¶
type AptosAccountResp ¶
type AptosProcessor ¶
type AptosProcessor struct {
// contains filtered or unexported fields
}
func NewAptosProcessor ¶
func NewAptosProcessor(restUrl string) *AptosProcessor
func (*AptosProcessor) GetAccountAuthKeyOnChain ¶
func (apt *AptosProcessor) GetAccountAuthKeyOnChain(address string) (string, error)
func (*AptosProcessor) GetCredentialJsons ¶
func (apt *AptosProcessor) GetCredentialJsons(presentation string) ([]string, error)
func (*AptosProcessor) VerifyCredential ¶
func (apt *AptosProcessor) VerifyCredential(credential string, trustedDIDs []string) error
func (*AptosProcessor) VerifyPresentation ¶
func (apt *AptosProcessor) VerifyPresentation(presentation string, requiredTypes []*modules.VCFilter) error
Click to show internal directories.
Click to hide internal directories.