Documentation ¶
Index ¶
- Constants
- Variables
- func GetAcceptedCredentialClaimStatuses() []string
- func IsValidID(Id string, namespace string, docType string) error
- func VerifyCredentialHash(credHash string) bool
- func VerifyCredentialProofDates(credProof *types.CredentialProof, credRegistration bool) error
- func VerifyCredentialStatusDates(issuanceDate time.Time, expirationDate time.Time) error
- func VerifyDocumentProofSignature(ssiMsg types.SsiMsg, vm *types.VerificationMethod, signInfo *types.SignInfo) error
- func VerifySignatureOfAnyController(didDocMsg types.SsiMsg, VmMap map[string][]*types.ExtendedVerificationMethod) error
- func VerifySignatureOfEveryController(didDocMsg types.SsiMsg, VmMap map[string][]*types.ExtendedVerificationMethod) error
Constants ¶
View Source
const ClaimStatus_expired = "Expired"
View Source
const ClaimStatus_live = "Live"
Acceptable Credential Status. Ref: https://github.com/hypersign-protocol/hid-node/discussions/141#discussioncomment-2825349
View Source
const ClaimStatus_revoked = "Revoked"
View Source
const ClaimStatus_suspended = "Suspended"
View Source
const DidMethod string = "hid"
Variables ¶
View Source
var ServiceTypes = []string{
"LinkedDomains",
}
Functions ¶
func GetAcceptedCredentialClaimStatuses ¶ added in v0.1.6
func GetAcceptedCredentialClaimStatuses() []string
func VerifyCredentialHash ¶
func VerifyCredentialProofDates ¶
func VerifyCredentialProofDates(credProof *types.CredentialProof, credRegistration bool) error
func VerifyDocumentProofSignature ¶ added in v0.1.7
func VerifyDocumentProofSignature(ssiMsg types.SsiMsg, vm *types.VerificationMethod, signInfo *types.SignInfo) error
VerifyDocumentProofSignature verfies the proof of the SSI Document such as Credential Schema and Credential Status
func VerifySignatureOfAnyController ¶ added in v0.1.7
func VerifySignatureOfAnyController( didDocMsg types.SsiMsg, VmMap map[string][]*types.ExtendedVerificationMethod, ) error
VerifySignatureOfEveryController verifies any required0 verification8
func VerifySignatureOfEveryController ¶ added in v0.1.7
func VerifySignatureOfEveryController( didDocMsg types.SsiMsg, VmMap map[string][]*types.ExtendedVerificationMethod, ) error
VerifySignatureOfEveryController verifies every required verification method of every controller
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.