Documentation ¶
Index ¶
- Constants
- func CreateServerCATemplate(csrDER []byte, trustDomain string, notBefore, notAfter time.Time, ...) (*x509.Certificate, error)
- func CreateX509SVIDTemplate(csrDER []byte, trustDomain string, notBefore, notAfter time.Time, ...) (*x509.Certificate, error)
- func GenerateServerCACSR(signer crypto.Signer, trustDomain string, subject pkix.Name) ([]byte, error)
- func NewManager(c *ManagerConfig) *manager
- func SelfSignServerCACertificate(signer crypto.Signer, trustDomain string, subject pkix.Name, ...) (*x509.Certificate, error)
- func UpstreamSignServerCACertificate(ctx context.Context, upstreamCA upstreamca.UpstreamCA, signer crypto.Signer, ...) (*x509.Certificate, []*x509.Certificate, error)
- type Manager
- type ManagerConfig
- type ServerCA
Constants ¶
View Source
const ( DefaultSVIDTTL = time.Hour DefaultCATTL = 24 * time.Hour )
View Source
const (
DefaultJWTSVIDTTL = time.Minute * 5
)
Variables ¶
This section is empty.
Functions ¶
func CreateServerCATemplate ¶
func CreateX509SVIDTemplate ¶
func GenerateServerCACSR ¶
func NewManager ¶
func NewManager(c *ManagerConfig) *manager
func UpstreamSignServerCACertificate ¶
func UpstreamSignServerCACertificate(ctx context.Context, upstreamCA upstreamca.UpstreamCA, signer crypto.Signer, trustDomain string, subject pkix.Name) (*x509.Certificate, []*x509.Certificate, error)
Types ¶
type ManagerConfig ¶
Click to show internal directories.
Click to hide internal directories.