Documentation
¶
Index ¶
- func ParseLicense(licenseToken string, key string) (*jwt.Token, error)
- func ValidateEKSDistroManifestSignature(release *eksdv1alpha1.Release, signature, pubKey, releaseChannel string) (valid bool, err error)
- func ValidateSignature(bundle *anywherev1alpha1.Bundles, pubKey string) (valid bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLicense ¶
ParseLicense parses licenseKey jwt token using the public key and returns token fields.
func ValidateEKSDistroManifestSignature ¶ added in v0.22.6
func ValidateEKSDistroManifestSignature(release *eksdv1alpha1.Release, signature, pubKey, releaseChannel string) (valid bool, err error)
ValidateEKSDistroManifestSignature validates the signature annotation of the bundles object using KMS public key.
func ValidateSignature ¶
func ValidateSignature(bundle *anywherev1alpha1.Bundles, pubKey string) (valid bool, err error)
ValidateSignature validates the signature annotation of the bundles object using KMS public key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.