type crypto/ecdsa.PrivateKey
28 uses
crypto/ecdsa (current package)
ecdsa.go#L87: type PrivateKey struct {
ecdsa.go#L95: func (k *PrivateKey) ECDH() (*ecdh.PrivateKey, error) {
ecdsa.go#L121: func (priv *PrivateKey) Public() crypto.PublicKey {
ecdsa.go#L128: func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool {
ecdsa.go#L129: xx, ok := x.(*PrivateKey)
ecdsa.go#L149: func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
ecdsa.go#L158: func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L166: return &PrivateKey{PublicKey: PublicKey{Curve: c, X: bbig.Dec(x), Y: bbig.Dec(y)}, D: bbig.Dec(d)}, nil
ecdsa.go#L184: func generateNISTEC[Point nistPoint[Point]](c *nistCurve[Point], rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L190: priv := new(PrivateKey)
ecdsa.go#L256: func SignASN1(rand io.Reader, priv *PrivateKey, hash []byte) ([]byte, error) {
ecdsa.go#L291: func signNISTEC[Point nistPoint[Point]](c *nistCurve[Point], priv *PrivateKey, csprng io.Reader, hash []byte) (sig []byte, err error) {
ecdsa.go#L413: func mixedCSPRNG(rand io.Reader, priv *PrivateKey, hash []byte) (io.Reader, error) {
ecdsa_legacy.go#L20: func generateLegacy(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
ecdsa_legacy.go#L26: priv := new(PrivateKey)
ecdsa_legacy.go#L58: func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
ecdsa_legacy.go#L77: func signLegacy(priv *PrivateKey, csprng io.Reader, hash []byte) (sig []byte, err error) {
ecdsa_noasm.go#L15: func signAsm(priv *PrivateKey, csprng io.Reader, hash []byte) (sig []byte, err error) {
notboring.go#L14: func boringPrivateKey(*PrivateKey) (*boring.PrivateKeyECDSA, error) {
crypto/tls
auth.go#L259: case rsa.PrivateKey, ecdsa.PrivateKey:
tls.go#L314: priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey)
tls.go#L345: case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey:
crypto/x509
pkcs8.go#L112: case *ecdsa.PrivateKey:
sec1.go#L37: func ParseECPrivateKey(der []byte) (*ecdsa.PrivateKey, error) {
sec1.go#L46: func MarshalECPrivateKey(key *ecdsa.PrivateKey) ([]byte, error) {
sec1.go#L57: func marshalECPrivateKeyWithOID(key *ecdsa.PrivateKey, oid asn1.ObjectIdentifier) ([]byte, error) {
sec1.go#L84: func parseECPrivateKey(namedCurveOID *asn1.ObjectIdentifier, der []byte) (key *ecdsa.PrivateKey, err error) {
sec1.go#L114: priv := new(ecdsa.PrivateKey)
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |