Documentation ¶
Index ¶
- func GenerateCSR(key interface{}, Keytype string, id string) (*x509.CertificateRequest, error)
- func GenrateRandKey(id string) ([]byte, *x509.CertificateRequest, error)
- func InsertCert(path string, data []byte)
- func InsertCsr(path string, data []byte)
- func InsertKey(path string, data []byte)
- func ReadCert(path string) (*x509.Certificate, error)
- func ReadCertPool(path string) (*x509.CertPool, error)
- func ReadKey(path string) ([]byte, error)
- func StringToCSR(s string) (*x509.CertificateRequest, error)
- func WriteDataFile(id string, max float64, min float64, media float64, file *os.File) error
- func WriteFile(file *os.File, data [][]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCSR ¶
func GenerateCSR(key interface{}, Keytype string, id string) (*x509.CertificateRequest, error)
func GenrateRandKey ¶
func GenrateRandKey(id string) ([]byte, *x509.CertificateRequest, error)
func InsertCert ¶
func StringToCSR ¶
func StringToCSR(s string) (*x509.CertificateRequest, error)
func WriteDataFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.