Versions in this module Expand all Collapse all v1 v1.0.1 Dec 24, 2023 Changes in this version + const DIDCommMessaging + const DIDCommMessagingAbbr + const DIDPeerPrefix + const DIDRegex + const EncNumBasis + const Hash + const KnownContext + func GetSupportedDIDPeerTypes() []crypto.KeyType + func IsSupportedDIDPeerType(kt crypto.KeyType) bool + type DIDPeer string + func (DIDPeer) Delta(_ DIDPeer) (*PeerDelta, error) + func (DIDPeer) IsValidPurpose(p PurposeType) bool + func (DIDPeer) Method() did.Method + func (d DIDPeer) GetMethodID() (string, error) + func (d DIDPeer) IsValid() bool + func (d DIDPeer) String() string + func (d DIDPeer) Suffix() (string, error) + type Method0 struct + func (Method0) Generate(kt crypto.KeyType, publicKey gocrypto.PublicKey) (*DIDPeer, error) + func (Method0) Method() did.Method + type Method1 struct + func (Method1) Generate() (*DIDPeer, error) + func (Method1) Method() did.Method + type Method2 struct + KT crypto.KeyType + Values []any + func (Method2) Method() did.Method + func (m Method2) Generate() (*DIDPeer, error) + type PeerDelta struct + By []byValue + Change string + When int64 + type PurposeType string + const PurposeAssertionCode + const PurposeCapabilityDelegationCode + const PurposeCapabilityInvocationCode + const PurposeCapabilityServiceCode + const PurposeEncryptionCode + const PurposeVerificationCode + type Resolver struct + func (Resolver) Methods() []did.Method + func (Resolver) Resolve(_ context.Context, id string, opts ...resolution.Option) (*resolution.Result, error) + type ServiceBlockEncoded struct + Accept []string + RoutingKeys []string + ServiceEndpoint string + ServiceType string + type ServiceTypeAbbreviationMap map[string]string