Documentation ¶
Index ¶
- func GenerateCert(privKey *ecdsa.PrivateKey, isCA bool, organization string) (*x509.Certificate, error)
- func ParseCert(data []byte) (*x509.Certificate, error)
- func ParsePrivateKey(data []byte, opt crypto.KeyType) (*ecdsa2.PrivateKey, error)
- func VerifySign(subCert *x509.Certificate, caCert *x509.Certificate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCert ¶
func GenerateCert(privKey *ecdsa.PrivateKey, isCA bool, organization string) (*x509.Certificate, error)
func ParsePrivateKey ¶
func VerifySign ¶
func VerifySign(subCert *x509.Certificate, caCert *x509.Certificate) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.