Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultUpstreamCABackdate = time.Second * 10 DefaultUpstreamCATTL = time.Hour )
Variables ¶
This section is empty.
Functions ¶
func ParseAndValidateCSR ¶
func ParseAndValidateCSR(csrDER []byte, validationMode idutil.ValidationMode) (csr *x509.CertificateRequest, err error)
func ValidateCSR ¶
func ValidateCSR(csr *x509.CertificateRequest, validationMode idutil.ValidationMode) error
Types ¶
type UpstreamCA ¶
type UpstreamCA struct {
// contains filtered or unexported fields
}
func NewUpstreamCA ¶
func NewUpstreamCA(keypair x509util.Keypair, trustDomain string, options UpstreamCAOptions) *UpstreamCA
func (*UpstreamCA) SignCSR ¶
func (ca *UpstreamCA) SignCSR(ctx context.Context, csrDER []byte) (*x509.Certificate, error)
type UpstreamCAOptions ¶
Click to show internal directories.
Click to hide internal directories.