MCPcopy
hub / github.com/golang/crypto / Add

Method Add

ssh/agent/client.go:55–55  ·  view source on GitHub ↗

Add adds a private key to the agent.

(key AddedKey)

Source from the content-addressed store, hash-verified

53
54 // Add adds a private key to the agent.
55 Add(key AddedKey) error
56
57 // Remove removes all identities with the given public key.
58 Remove(key ssh.PublicKey) error

Callers 15

pbkdfFunction · 0.65
readASN1BigIntMethod · 0.65
TestMuxReadWriteFunction · 0.65
TestMuxChannelOverflowFunction · 0.65
TestMuxRejectFunction · 0.65
TestMuxChannelRequestFunction · 0.65
TestMuxGlobalRequestFunction · 0.65
TestMuxMaxPacketSizeFunction · 0.65

Implementers 2

keyringssh/agent/keyring.go
clientssh/agent/client.go

Calls

no outgoing calls

Tested by 15

TestMuxReadWriteFunction · 0.52
TestMuxChannelOverflowFunction · 0.52
TestMuxRejectFunction · 0.52
TestMuxChannelRequestFunction · 0.52
TestMuxGlobalRequestFunction · 0.52
TestMuxMaxPacketSizeFunction · 0.52