1#ifndef SSL_WRAPPER_INCLUDED
2#define SSL_WRAPPER_INCLUDED
32int MY_ATTRIBUTE((visibility(
"default")))
65 const long maximun_num_of_elements);
98 const size_t issuer_size);
109 const size_t subject_size);
154 const size_t no_after_size);
166 const size_t no_before_size);
Header for compiler-dependent features.
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:420
size_t buffer_size(const ConstBufferSequence &buffers) noexcept
Definition: buffer.h:315
Definition: service_ssl_wrapper.h:30
int dummy_function_to_ensure_we_are_linked_into_the_server()
Definition: ssl_wrapper_service.cc:44
void ssl_wrapper_cipher(Vio *vio, char *buffer, const size_t buffer_size)
Return cipher used in current connection.
Definition: ssl_wrapper_service.cc:85
void ssl_wrapper_ctx_server_not_before(struct st_VioSSLFd *vio_ssl, char *no_before, const size_t no_before_size)
Return the first day the server certificate is valid.
Definition: ssl_wrapper_service.cc:259
void ssl_wrapper_version(Vio *vio, char *buffer, const size_t buffer_size)
Return version of SSL used in current connection.
Definition: ssl_wrapper_service.cc:71
long ssl_wrapper_cipher_list(Vio *vio, const char **clipher_list, const long maximun_num_of_elements)
Return cipher list that can be used for SSL.
Definition: ssl_wrapper_service.cc:99
long ssl_wrapper_sess_accept(struct st_VioSSLFd *vio_ssl)
Definition: ssl_wrapper_service.cc:280
long ssl_wrapper_verify_depth(Vio *vio)
Return the verification depth limit set in SSL.
Definition: ssl_wrapper_service.cc:125
long ssl_wrapper_verify_mode(Vio *vio)
Return the verification mode set in SSL.
Definition: ssl_wrapper_service.cc:129
void ssl_wrapper_thread_cleanup()
Cleanup data allocated by SSL on thread stack.
Definition: ssl_wrapper_service.cc:292
long ssl_wrapper_sess_accept_good(struct st_VioSSLFd *vio_ssl)
Cleanup data allocated by SSL on thread stack.
Definition: ssl_wrapper_service.cc:284
long ssl_wrapper_get_verify_result_and_cert(Vio *vio)
Check is peer certificate is present and try to verify it.
Definition: ssl_wrapper_service.cc:182
long ssl_wrapper_ctx_verify_mode(struct st_VioSSLFd *vio_ssl)
Return the verification mode set in SSL context.
Definition: ssl_wrapper_service.cc:218
long ssl_wrapper_ctx_verify_depth(struct st_VioSSLFd *vio_ssl)
Return the verification depth limit set in SSL context.
Definition: ssl_wrapper_service.cc:205
void ssl_wrapper_ctx_server_not_after(struct st_VioSSLFd *vio_ssl, char *no_after, const size_t no_after_size)
Return the last day the server certificate is valid.
Definition: ssl_wrapper_service.cc:230
void ssl_wrapper_get_peer_certificate_issuer(Vio *vio, char *issuer, const size_t issuer_size)
Return issuer name form peers ssl certificate.
Definition: ssl_wrapper_service.cc:141
void ssl_wrapper_get_peer_certificate_subject(Vio *vio, char *subject, const size_t subject_size)
Return subject field form peers ssl certificate.
Definition: ssl_wrapper_service.cc:161
Definition: violite.h:318
Definition: violite.h:255