type crypto/ecdsa.PrivateKey
30 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)
golang.org/x/crypto/openpgp/packet
private_key.go#L60: func NewECDSAPrivateKey(creationTime time.Time, priv *ecdsa.PrivateKey) *PrivateKey {
private_key.go#L174: case *ecdsa.PrivateKey:
private_key.go#L235: func serializeECDSAPrivateKey(w io.Writer, priv *ecdsa.PrivateKey) error {
private_key.go#L377: pk.PrivateKey = &ecdsa.PrivateKey{
signature.go#L540: if pk, ok := priv.PrivateKey.(*ecdsa.PrivateKey); ok {
golang.org/x/crypto/ssh
keys.go#L1432: return &ecdsa.PrivateKey{
golang.org/x/crypto/ssh/agent
client.go#L560: case *ecdsa.PrivateKey:
client.go#L690: case *ecdsa.PrivateKey:
server.go#L303: func unmarshalECDSA(curveName string, keyBytes []byte, privScalar *big.Int) (priv *ecdsa.PrivateKey, err error) {
server.go#L304: priv = &ecdsa.PrivateKey{
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |