Documentation
¶
Index ¶
Constants ¶
View Source
const (
KeySize = 4096
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertGenerator ¶
type CertGenerator interface { CreateSelfSignedCertificateKeyPair(ctx context.Context, csr *x509.Certificate) (*x509.Certificate, *rsa.PrivateKey, *retry.Error) CreateCertificateKeyPair(ctx context.Context, csr *x509.Certificate, caCert *x509.Certificate, caKey *rsa.PrivateKey) (*x509.Certificate, *rsa.PrivateKey, *retry.Error) CreateCertificate(ctx context.Context, csr *x509.Certificate, key *rsa.PrivateKey, caCert *x509.Certificate, caKey *rsa.PrivateKey) (*x509.Certificate, *retry.Error) }
func NewCertGenerator ¶
func NewCertGenerator(certCreator certcreator.CertCreator) CertGenerator
Click to show internal directories.
Click to hide internal directories.