validation

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotary added in v0.15.6

func IsNotary(svid string) bool

IsNotary returns true if the given SVID (SPIFFE Verifiable Identity Document) is an Aegis Notary SVID. It does this by checking if the SVID has the notarySvidPrefix as its prefix.

func IsSafe

func IsSafe(svid string) bool

IsSafe returns true if the given SVID (SPIFFE Verifiable Identity Document) is a Safe SVID. It does this by checking if the SVID has the SafeSvidPrefix as its prefix.

func IsSentinel

func IsSentinel(svid string) bool

IsSentinel returns true if the given SVID (SPIFFE Verifiable Identity Document) is a Sentinel SVID. It does this by checking if the SVID has the SentinelSvidPrefix as its prefix.

func IsWorkload

func IsWorkload(svid string) bool

IsWorkload returns true if the given SVID (SPIFFE Verifiable Identity Document) is a Workload SVID. It does this by checking if the SVID has the WorkloadSvidPrefix as its prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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