Documentation ¶
Index ¶
- func CreateCRT(RootCa *x509.Certificate, RootKey *rsa.PrivateKey, info CertInformation) error
- func Parse(crtPath, keyPath string) (rootcertificate *x509.Certificate, rootPrivateKey *rsa.PrivateKey, err error)
- func ParseCrt(path string) (*x509.Certificate, error)
- func ParseKey(path string) (*rsa.PrivateKey, error)
- type CertInformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCRT ¶
func CreateCRT(RootCa *x509.Certificate, RootKey *rsa.PrivateKey, info CertInformation) error
func Parse ¶
func Parse(crtPath, keyPath string) (rootcertificate *x509.Certificate, rootPrivateKey *rsa.PrivateKey, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.