Download wolfSSL Manual
Transcript
wolfSSL_CTX_UseSNI() wolfSSL_UseSNI() wolfSSL_CTX_UseSNI() is most recommended when the client contacts the same server multiple times. Setting the SNI extension at the context level will enable the SNI usage in all SSL objects created from that same context from the moment of the call forward. wolfSSL_UseSNI() will enable SNI usage for one SSL object only, so it is recommended to use this function when the server name changes between sessions. On the server side one of the same function calls is required. Since the wolfSSL server doesn't host multiple 'virtual' servers, the SNI usage is useful when the termination of the connection is desired in the case of SNI mismatch. In this scenario, wolfSSL_CTX_UseSNI() will be more efficient, as the server will set it only once per context creating all subsequent SSL objects with SNI from that same context. 4.10 Handshake Modifications 4.10.1 Grouping Handshake Messages wolfSSL has the ability to group handshake messages if the user desires. This can be done at the context level with: wolfSSL_CTX_set_group_messages(ctx); or at the SSL object level with: wolfSSL_set_group_messages(ssl); Copyright 2015 wolfSSL Inc. All rights reserved. 62