Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtendedKeyUsage_IDENTITY_CERTIFICATE = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 44924, 1, 6}
Functions ¶
This section is empty.
Types ¶
type CertificateSigner ¶
type CertificateSigner struct {
// contains filtered or unexported fields
}
func New ¶
func New(caCert []*x509.Certificate, caKey crypto.PrivateKey, opts ...Opt) *CertificateSigner
func NewIdentityCertificateSigner ¶
func NewIdentityCertificateSigner(caCert []*x509.Certificate, caKey crypto.PrivateKey, opts ...Opt) *CertificateSigner
type Opt ¶
type Opt = func(cfg *SignerConfig)
func WithNotAfter ¶
func WithNotBefore ¶
func WithOverrideCertTemplate ¶
func WithOverrideCertTemplate(overrideCertTemplate func(template *x509.Certificate) error) Opt
type SignerConfig ¶
Click to show internal directories.
Click to hide internal directories.