Documentation
¶
Index ¶
- func CheckForKbJwt(candidate string) *string
- func CopyMap(m map[string]any) map[string]any
- func CopySlice(s []any) []any
- func GetDigests(m map[string]any) []any
- func Pointer[T comparable](t T) *T
- func PointerMap(m map[string]any) *map[string]any
- func PointerSlice(s []any) *[]any
- func StringifyDisclosures(disclosures []disclosure.Disclosure) string
- func StripSDClaims(body map[string]any) map[string]any
- func StripSDClaimsFromSlice(input []any) []any
- func ValidateArrayClaims(s *[]any, currentDisclosure *disclosure.Disclosure, ...) (found bool, err error)
- func ValidateDigests(body map[string]any) error
- func ValidateDisclosures(disclosures []string) ([]disclosure.Disclosure, error)
- func ValidateSDClaims(values *map[string]any, currentDisclosure *disclosure.Disclosure, ...) (found bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForKbJwt ¶
func GetDigests ¶
func Pointer ¶
func Pointer[T comparable](t T) *T
Pointer is a helper method that returns a pointer to the given value.
func PointerMap ¶
PointerMap is a helper method that returns a pointer to the given map.
func PointerSlice ¶
PointerSlice is a helper method that returns a pointer to the given slice.
func StringifyDisclosures ¶
func StringifyDisclosures(disclosures []disclosure.Disclosure) string
func StripSDClaimsFromSlice ¶
func ValidateArrayClaims ¶
func ValidateArrayClaims(s *[]any, currentDisclosure *disclosure.Disclosure, base64HashedDisclosure string) (found bool, err error)
func ValidateDigests ¶
func ValidateDisclosures ¶
func ValidateDisclosures(disclosures []string) ([]disclosure.Disclosure, error)
func ValidateSDClaims ¶
func ValidateSDClaims(values *map[string]any, currentDisclosure *disclosure.Disclosure, base64HashedDisclosure string) (found bool, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.