Documentation ¶
Index ¶
- func ECDSALoadPrivateFromPem(keyPem string) (*ecdsa.PrivateKey, error)
- func ECDSAPrivateToPem(key *ecdsa.PrivateKey) (string, error)
- func ECDSAPublicToPem(key *ecdsa.PublicKey) (string, error)
- func GenEcdsaToken() (*ecdsa.PrivateKey, string, error)
- func GenerateECDSAKey(c elliptic.Curve) (*ecdsa.PrivateKey, error)
- func GenerateECDSAKit() (*ecdsa.PrivateKey, *ecdsa.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ECDSALoadPrivateFromPem ¶
func ECDSALoadPrivateFromPem(keyPem string) (*ecdsa.PrivateKey, error)
func ECDSAPrivateToPem ¶
func ECDSAPrivateToPem(key *ecdsa.PrivateKey) (string, error)
func GenEcdsaToken ¶
func GenEcdsaToken() (*ecdsa.PrivateKey, string, error)
func GenerateECDSAKey ¶
func GenerateECDSAKey(c elliptic.Curve) (*ecdsa.PrivateKey, error)
this generates a public & private key pair
func GenerateECDSAKit ¶
func GenerateECDSAKit() (*ecdsa.PrivateKey, *ecdsa.PublicKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.