func EncryptWithJwe(pubKeys [][]byte) (CryptoConfig, error) {
	dc := DecryptConfig{}
	ep := map[string][][]byte{
		"pubkeys": pubKeys,
	}
	return CryptoConfig{
		EncryptConfig: &EncryptConfig{
			Parameters:    ep,
			DecryptConfig: dc,
		},
		DecryptConfig: &dc,
	}, nil
}
EncryptWithJwe returns a CryptoConfig to encrypt with jwe public keys
package config
import (
	"github.com/containers/ocicrypt/crypto/pkcs11"
	"strings"
	"github.com/pkg/errors"
	"gopkg.in/yaml.v2"
)