Versions in this module Expand all Collapse all v1 v1.0.0 Dec 23, 2023 Changes in this version + const EnableEncryptionKeyDerivationOption + const Prefix + const PublicKeyFormatOption + var DisableEncryptionKeyDerivation = Option + var EnableEncryptionKeyDerivation = Option + var PublicKeyFormatJSONWebKey2020 = Option + var PublicKeyFormatMultibase = Option + func GetSupportedDIDKeyTypes() []crypto.KeyType + func IsSupportedDIDKeyType(kt crypto.KeyType) bool + func MultibaseEncodedKey(kt crypto.KeyType, publicKey []byte) (string, error) + type DIDKey string + func CreateDIDKey(kt crypto.KeyType, publicKey []byte) (*DIDKey, error) + func GenerateDIDKey(kt crypto.KeyType) (gocrypto.PrivateKey, *DIDKey, error) + func (DIDKey) Method() did.Method + func (d DIDKey) Decode() ([]byte, crypto.KeyType, error) + func (d DIDKey) Expand(opts ...Option) (*did.Document, error) + func (d DIDKey) IsValid() bool + func (d DIDKey) String() string + func (d DIDKey) Suffix() (string, error) + type Option struct + Name string + Value any + type Resolver struct + func (Resolver) Methods() []did.Method + func (Resolver) Resolve(_ context.Context, id string, _ ...resolution.Option) (*resolution.Result, error)