Hi all !

I must encapsulate OpenSSL to make a simple SSL API. Have you some propositions to do ?

I think to propose few functions like :
    - Init(peer_type) /* client or server */
    - Configure(arg, value) /* port, address, SSL version ...*/
    - Read()
    - Write()
    - Close()
    - Create_certificate_request()
    - Is_certificate_revoked()
    - Verify_server_certificate()
    - Import_certificate()

Is it enough ?

TIA, have a good day

Reply via email to