|
enum | { OPTION_VERIFY_LATER = 1,
OPTION_REQUIRE_CLIENT_CERTIFICATE = 2,
OPTION_ADD_DEFAULT_TRUST_ANCHORS = 4,
OPTION_NO_SESSION_CACHE = 8
} |
|
|
| NPT_TlsContext (NPT_Flags options=0) |
|
NPT_Result | LoadKey (NPT_TlsKeyFormat key_format, const unsigned char *key_data, NPT_Size key_data_size, const char *password) |
|
NPT_Result | SelfSignCertificate (const char *common_name, const char *organization, const char *organizational_name) |
|
NPT_Result | AddTrustAnchor (const unsigned char *ta_data, NPT_Size ta_data_size) |
| Add one trust anchor.
|
|
NPT_Result | AddTrustAnchors (const NPT_TlsTrustAnchorData *anchors, NPT_Cardinal anchor_count=0) |
| Add one or more trust anchors, from a list. More...
|
|
|
NPT_TlsContextImpl * | m_Impl |
|
|
class | NPT_TlsSession |
|
class | NPT_TlsClientSession |
|
class | NPT_TlsServerSession |
|
◆ AddTrustAnchors()
NPT_Result NPT_TlsContext::AddTrustAnchors |
( |
const NPT_TlsTrustAnchorData * |
anchors, |
|
|
NPT_Cardinal |
anchor_count = 0 |
|
) |
| |
Add one or more trust anchors, from a list.
- Parameters
-
anchors | Array of trust anchor data |
anchor_count | Number of anchors in the array, or 0 if the array is terminated by a 'sentinel' (an anchor data with the field cert_data set to NULL and the field cert_size set to 0). |
The documentation for this class was generated from the following file:
- lib/libUPnP/Neptune/Source/Core/NptTls.h