Documentation ¶
Index ¶
- func VerifyPolicySignature(ctx context.Context, envelope dsse.Envelope, vo *VerifyPolicySignatureOptions) error
- type Option
- func VerifyWithPolicyCAIntermediates(intermediates []*x509.Certificate) Option
- func VerifyWithPolicyCARoots(roots []*x509.Certificate) Option
- func VerifyWithPolicyCertConstraints(commonName string, dnsNames []string, emails []string, organizations []string, ...) Option
- func VerifyWithPolicyFulcioCertExtensions(extensions certificate.Extensions) Option
- func VerifyWithPolicyTimestampAuthorities(authorities []timestamp.TimestampVerifier) Option
- func VerifyWithPolicyVerifiers(policyVerifiers []cryptoutil.Verifier) Option
- type VerifyPolicySignatureOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyPolicySignature ¶
Types ¶
type Option ¶
type Option func(*VerifyPolicySignatureOptions)
func VerifyWithPolicyCAIntermediates ¶
func VerifyWithPolicyCAIntermediates(intermediates []*x509.Certificate) Option
func VerifyWithPolicyCARoots ¶
func VerifyWithPolicyCARoots(roots []*x509.Certificate) Option
func VerifyWithPolicyFulcioCertExtensions ¶
func VerifyWithPolicyFulcioCertExtensions(extensions certificate.Extensions) Option
func VerifyWithPolicyTimestampAuthorities ¶
func VerifyWithPolicyTimestampAuthorities(authorities []timestamp.TimestampVerifier) Option
func VerifyWithPolicyVerifiers ¶
func VerifyWithPolicyVerifiers(policyVerifiers []cryptoutil.Verifier) Option
type VerifyPolicySignatureOptions ¶
type VerifyPolicySignatureOptions struct {
// contains filtered or unexported fields
}
func NewVerifyPolicySignatureOptions ¶
func NewVerifyPolicySignatureOptions(opts ...Option) *VerifyPolicySignatureOptions
Click to show internal directories.
Click to hide internal directories.