Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "0.1.0"
Functions ¶
This section is empty.
Types ¶
type CustomSigner ¶
type CustomSigner struct{}
CustomSigner demonstrates a custom bundle signing implementation.
func (*CustomSigner) GenerateSignedToken ¶
func (s *CustomSigner) GenerateSignedToken(files []bundle.FileInfo, sc *bundle.SigningConfig, keyID string) (string, error)
GenerateSignedToken demonstrates how to implement the bundle.Signer interface, for the purpose of creating custom bundle signing. Note: In this example, no actual signing is taking place, it simply demonstrates how one could begin a custom signing implementation.
type CustomVerifier ¶
type CustomVerifier struct{}
CustomVerifier demonstrates a custom bundle verification implementation.
func (*CustomVerifier) VerifyBundleSignature ¶
func (v *CustomVerifier) VerifyBundleSignature(sc bundle.SignaturesConfig, bvc *bundle.VerificationConfig) (map[string]bundle.FileInfo, error)
VerifyBundleSignature demonstrates how to implement the bundle.Verifier interface, for the purpose of creating custom bundle verification. Note: In this example, no actual verification is taking place, it simply demonstrates how one could begin a custom verification implementation.