type crypto/ecdsa.PrivateKey
20 uses
crypto/ecdsa (current package)
ecdsa.go#L87: type PrivateKey struct {
ecdsa.go#L93: func (priv *PrivateKey) Public() crypto.PublicKey {
ecdsa.go#L100: func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool {
ecdsa.go#L101: xx, ok := x.(*PrivateKey)
ecdsa.go#L115: func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
ecdsa.go#L149: func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L155: priv := new(PrivateKey)
ecdsa.go#L200: func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
ecdsa.go#L240: func signGeneric(priv *PrivateKey, csprng *cipher.StreamReader, c elliptic.Curve, hash []byte) (r, s *big.Int, err error) {
ecdsa.go#L285: func SignASN1(rand io.Reader, priv *PrivateKey, hash []byte) ([]byte, error) {
ecdsa_noasm.go#L15: func sign(priv *PrivateKey, csprng *cipher.StreamReader, c elliptic.Curve, hash []byte) (r, s *big.Int, err error) {
crypto/tls
auth.go#L255: case rsa.PrivateKey, ecdsa.PrivateKey:
tls.go#L345: priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey)
tls.go#L376: case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey:
crypto/x509
pkcs8.go#L99: case *ecdsa.PrivateKey:
sec1.go#L34: func ParseECPrivateKey(der []byte) (*ecdsa.PrivateKey, error) {
sec1.go#L43: func MarshalECPrivateKey(key *ecdsa.PrivateKey) ([]byte, error) {
sec1.go#L54: func marshalECPrivateKeyWithOID(key *ecdsa.PrivateKey, oid asn1.ObjectIdentifier) ([]byte, error) {
sec1.go#L68: func parseECPrivateKey(namedCurveOID *asn1.ObjectIdentifier, der []byte) (key *ecdsa.PrivateKey, err error) {
sec1.go#L98: priv := new(ecdsa.PrivateKey)