| 1574 | } |
| 1575 | |
| 1576 | bool Controller::is_ssl() const { |
| 1577 | Socket* s = _current_call.sending_sock.get(); |
| 1578 | return s != NULL && s->is_ssl(); |
| 1579 | } |
| 1580 | |
| 1581 | x509_st* Controller::get_peer_certificate() const { |
| 1582 | Socket* s = _current_call.sending_sock.get(); |