Documentation ¶
Index ¶
- func AddNamedCurve(curve *gost.Curve, oid asn1.ObjectIdentifier)
- func MarshalGostPrivateKey(key *gost.PrivateKey) ([]byte, error)
- func MarshalPrivateKey(key *gost.PrivateKey) ([]byte, error)
- func MarshalPublicKey(pub *gost.PublicKey) ([]byte, error)
- func NamedCurveFromOid(oid asn1.ObjectIdentifier) *gost.Curve
- func OidFromNamedCurve(curve *gost.Curve) (asn1.ObjectIdentifier, bool)
- func ParseGostPrivateKey(der []byte) (*gost.PrivateKey, error)
- func ParsePrivateKey(derBytes []byte) (*gost.PrivateKey, error)
- func ParsePublicKey(derBytes []byte) (pub *gost.PublicKey, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNamedCurve ¶
func AddNamedCurve(curve *gost.Curve, oid asn1.ObjectIdentifier)
func NamedCurveFromOid ¶
func NamedCurveFromOid(oid asn1.ObjectIdentifier) *gost.Curve
func OidFromNamedCurve ¶
func OidFromNamedCurve(curve *gost.Curve) (asn1.ObjectIdentifier, bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.