Versions in this module Expand all Collapse all v0 v0.1.3 Jun 22, 2021 v0.1.2 Jun 15, 2021 Changes in this version + func PEMtoPrivateKey(raw []byte, pwd []byte) (*sm2.PrivateKey, error) + func PEMtoPublicKey(raw []byte, pwd []byte) (*sm2.PublicKey, error) + func PrivateKeyToEncryptedPEM(priKey *sm2.PrivateKey, pwd []byte) ([]byte, error) + func PrivateKeyToPEM(privateKey *sm2.PrivateKey, pwd []byte) ([]byte, error) + func PublicKeyToEncryptedPEM(publicKey *sm2.PublicKey, pwd []byte) ([]byte, error) + func PublicKeyToPEM(publicKey *sm2.PublicKey, pwd []byte) ([]byte, error) + type AlgorithmIdentifier struct + Algorithm asn1.ObjectIdentifier + Parameters asn1.RawValue