Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSignToRS ¶
Types ¶
type PrivateKey ¶
PrivateKey represents a ECDSA private key.
func GeneratePrivByC ¶
func GeneratePrivByC(curveType int) (*PrivateKey, error)
func GeneratePrivKey ¶
func GeneratePrivKey(curveType int) (*PrivateKey, error)
func GetPrivateKey ¶
func GetPrivateKey(rnd []byte, curveType int) (*PrivateKey, error)
func ParsePriKeyFromDer ¶
func ParsePriKeyFromDer(der []byte, curveType int) (*PrivateKey, error)
type PublicKey ¶
PublicKey represents an ECDSA public key.
func GeneratePublicKey ¶
func ParsePubKeyFromEncode ¶
Click to show internal directories.
Click to hide internal directories.