* Gets the key used for encryption/decryption * @returns {String} sessionKey (if set for protocol 3.4, 3.5) or key
()
| 273 | * @returns {String} sessionKey (if set for protocol 3.4, 3.5) or key |
| 274 | */ |
| 275 | getKey() { |
| 276 | return this.sessionKey === null ? this.key : this.sessionKey; |
| 277 | } |
| 278 | |
| 279 | /** |
| 280 | * Returns the HMAC for the current key (sessionKey if set for protocol 3.4, 3.5 or key) |
no outgoing calls
no test coverage detected