Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeToPEM ¶
func EncodeToPEM(cert *smx509.Certificate, key *sm2.PrivateKey, password []byte) ([]byte, error)
func Marshal ¶
func Marshal(cert *smx509.Certificate, key *sm2.PrivateKey, password []byte) ([]byte, error)
func Parse ¶
func Parse(keyPEM []byte, password []byte) (*smx509.Certificate, *sm2.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.