Documentation ¶
Index ¶
- func DecodePrivKey(privateKey string) (*ecdsa.PrivateKey, error)
- func DecodePubKey(publicKey string) (*ecdsa.PublicKey, error)
- func EcdsaDecode(pemEncoded string, pemEncodedPub string) (*ecdsa.PrivateKey, *ecdsa.PublicKey, error)
- func EcdsaEncode(privateKey *ecdsa.PrivateKey, publicKey *ecdsa.PublicKey) (string, string, error)
- func EncodePrivKey(privateKey *ecdsa.PrivateKey) (string, error)
- func EncodePubKey(publicKey *ecdsa.PublicKey) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePrivKey ¶
func DecodePrivKey(privateKey string) (*ecdsa.PrivateKey, error)
func EcdsaDecode ¶
func EcdsaEncode ¶
func EncodePrivKey ¶
func EncodePrivKey(privateKey *ecdsa.PrivateKey) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.