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