Added link to doc above MakeSecretConnection

This commit is contained in:
Jae Kwon
2015-07-15 15:38:29 -07:00
parent 9ef79e59bb
commit 9e2b138c35

View File

@@ -42,6 +42,7 @@ type SecretConnection struct {
// Performs handshake and returns a new authenticated SecretConnection.
// Returns nil if error in handshake.
// Caller should call conn.Close()
// See docs/sts-final.pdf for more information.
func MakeSecretConnection(conn io.ReadWriteCloser, locPrivKey acm.PrivKeyEd25519) (*SecretConnection, error) {
locPubKey := locPrivKey.PubKey().(acm.PubKeyEd25519)