SetNodeKey sets the switch's private key for authenticated encryption. NOTE: Not goroutine safe.
(nodeKey *NodeKey)
| 221 | // SetNodeKey sets the switch's private key for authenticated encryption. |
| 222 | // NOTE: Not goroutine safe. |
| 223 | func (sw *Switch) SetNodeKey(nodeKey *NodeKey) { |
| 224 | sw.nodeKey = nodeKey |
| 225 | } |
| 226 | |
| 227 | //--------------------------------------------------------------------- |
| 228 | // Service start/stop |
no outgoing calls
no test coverage detected