func WithVerifyAllowedFormats(allowedFormats ...AttestationFormat) VerifyOption {
	return func(cfg *verifyConfig) {
		cfg.allowedFormats = map[AttestationFormat]struct{}{}
		for _, allowedFormat := range allowedFormats {
			cfg.allowedFormats[allowedFormat] = struct{}{}
		}
	}
}
// WithVerifyAllowedFormats sets the allowedFormats in the verify config.
WithVerifyAllowedFormats sets the allowedFormats in the verify config.
// WithVerifyAllowedFormats sets the allowedFormats in the verify config .
func WithVerifyAllowedFormats(allowedFormats ...AttestationFormat) VerifyOption {
	return func(cfg *verifyConfig) {
		cfg.allowedFormats = map[AttestationFormat]struct{}{}
		for _, allowedFormat := range allowedFormats {
			cfg.allowedFormats[allowedFormat] = struct{}{}
		}
	}
}
func WithVerifyAllowedFormats ( allowedFormats ... AttestationFormat ) VerifyOption { return func ( cfg * verifyConfig ) { cfg . allowedFormats = map [ AttestationFormat ] struct { } { } for _ , allowedFormat := range allowedFormats { cfg . allowedFormats [ allowedFormat ] = struct { } { } } } }
WithVerifyAllowedFormats sets the allowedFormats in the verify config.
WithVerifyAllowedFormats sets the allowedFormats in the verify config .