func WithOrganizationalUnit(ou string) CACertOption {
	return func(c *CACert) {
		c.organizationalUnit = ou
	}
}
WithOrganizationalUnit specifies the OrganizationalUnit on the CA template.
package depot
import (
	"crypto"
	"crypto/x509"
	"crypto/x509/pkix"
	"io"
	"math/big"
	"time"
	"github.com/micromdm/scep/v2/cryptoutil"
)
type CACert struct {
	commonName         string
	country            string
	organization       string
	organizationalUnit string
	years              int
	keyUsage           x509.KeyUsage
}
func NewCACert(opts ...CACertOption) *CACert {
	c := &CACert{
		organization:       "scep-ca",
		organizationalUnit: "SCEP CA",
		years:              10,
		keyUsage:           x509.KeyUsageCertSign | x509.KeyUsageCRLSign,
	}
	for _, opt := range opts {
		opt(c)
	}
	return c
}
type CACertOption func(*CACert)
func WithOrganization(o string) CACertOption {
	return func(c *CACert) {
		c.organization = o
	}
}