Documentation
¶
Index ¶
- func GenerateCACert(commonName string) ([]byte, []byte, error)
- func GenerateChildCert(commonName string, isClient bool, caCert *x509.Certificate, ...) ([]byte, []byte, error)
- func RandomSubject(commonName string) *pkix.Name
- func RsaKeySize() int
- func SaveToPEMFile(filename string, pemData []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateChildCert ¶
func GenerateChildCert(commonName string, isClient bool, caCert *x509.Certificate, caKey *rsa.PrivateKey) ([]byte, []byte, error)
func RandomSubject ¶
func RsaKeySize ¶
func RsaKeySize() int
func SaveToPEMFile ¶
SaveToPEMFile save to PEM file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.