Documentation ¶
Index ¶
- func PemDecodePrivateKey(pvKey string) (*ecdsa.PrivateKey, error)
- func PemDecodePublicKey(pubKey string) (*ecdsa.PublicKey, error)
- func PemEncodePrivateKey(pvKey *ecdsa.PrivateKey) (string, error)
- func PemEncodePublicKey(pubKey *ecdsa.PublicKey) (string, error)
- func ReadPrivateKeyFromFile(path string) (*ecdsa.PrivateKey, error)
- func ReadPublicKeyFromFile(path string) (*ecdsa.PublicKey, error)
- func ReadRemotePublicKey(url string) (*ecdsa.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PemDecodePrivateKey ¶
func PemDecodePrivateKey(pvKey string) (*ecdsa.PrivateKey, error)
func PemEncodePrivateKey ¶
func PemEncodePrivateKey(pvKey *ecdsa.PrivateKey) (string, error)
func ReadPrivateKeyFromFile ¶
func ReadPrivateKeyFromFile(path string) (*ecdsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.