Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrivateKey ¶
func NewPrivateKey ¶
func NewPrivateKey(privateKey *ecdsa.PrivateKey) *PrivateKey
func ParsePrivateKey ¶
func ParsePrivateKey(der []byte) (*PrivateKey, error)
func (*PrivateKey) MarshalPKCS8PrivateKey ¶
func (pk *PrivateKey) MarshalPKCS8PrivateKey(curve elliptic.Curve) ([]byte, error)
func (*PrivateKey) ToECDSAPrivateKey ¶
func (pk *PrivateKey) ToECDSAPrivateKey() *ecdsa.PrivateKey
Click to show internal directories.
Click to hide internal directories.