Versions in this module Expand all Collapse all v0 v0.1.1 Apr 18, 2023 v0.1.0 Apr 15, 2023 Changes in this version + func ExportECPrivateKey(privateKey *ecdsa.PrivateKey) ([]byte, error) + func ExportECPublicKey(publicKey *ecdsa.PublicKey) ([]byte, error) + func ParseECPrivateKeyFromPEM(key []byte) (*ecdsa.PrivateKey, error) + func ParseECPublicKeyFromPEM(key []byte) (*ecdsa.PublicKey, error) + type KeyPair struct + Private *ecdsa.PrivateKey + Public *ecdsa.PublicKey + func GenerateKeyPair() (KeyPair, error)