utils

package
v2.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: Apache-2.0, MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAcceptProfile

func BuildAcceptProfile(profiles []protocol.AcceptProfile) ([]string, error)

BuildAcceptProfile builds the accept profile string array from the AcceptProfile structures

func IsValidDirectKey added in v2.11.7

func IsValidDirectKey(key jwk.Key) (jwk.Key, error)

IsValidDirectKey checks that provided direct recipient key is valid for usage

func ParseAcceptProfile

func ParseAcceptProfile(profile string) (protocol.AcceptProfile, error)

ParseAcceptProfile parses the accept profile string and returns the AcceptProfile struct

func ResolveRecipientKeyFromDIDDoc added in v2.11.7

func ResolveRecipientKeyFromDIDDoc(diddoc *verifiable.DIDDocument,
	filters ...verifiable.VerificationMethodFilterOpt) (jwk.Key, error)

ResolveRecipientKeyFromDIDDoc resolves recipient key from did document by key alg

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL