• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • graphics API Reference
  • KDE Home
  • Contact Us
 

digikam

Public Types | Public Member Functions | Protected Attributes | List of all members
NPT_TlsContext Class Reference

#include <NptTls.h>

Inheritance diagram for NPT_TlsContext:
Inheritance graph
[legend]

Public Types

enum  { OPTION_VERIFY_LATER = 1, OPTION_REQUIRE_CLIENT_CERTIFICATE = 2, OPTION_ADD_DEFAULT_TRUST_ANCHORS = 4, OPTION_NO_SESSION_CACHE = 8 }
 

Public Member Functions

 NPT_TlsContext (NPT_Flags options=0)
 
 ~NPT_TlsContext () override
 
NPT_Result AddTrustAnchor (const unsigned char *ta_data, NPT_Size ta_data_size)
 
NPT_Result AddTrustAnchors (const NPT_TlsTrustAnchorData *anchors, NPT_Cardinal anchor_count=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)
 
- Public Member Functions inherited from NPT_AutomaticCleaner::Singleton
virtual ~Singleton ()
 

Protected Attributes

NPT_TlsContextImpl * m_Impl
 

Detailed Description

Definition at line 124 of file NptTls.h.

Member Enumeration Documentation

anonymous enum
Enumerator
OPTION_VERIFY_LATER 
OPTION_REQUIRE_CLIENT_CERTIFICATE 
OPTION_ADD_DEFAULT_TRUST_ANCHORS 
OPTION_NO_SESSION_CACHE 

Definition at line 127 of file NptTls.h.

Constructor & Destructor Documentation

NPT_TlsContext::NPT_TlsContext ( NPT_Flags  options = 0)
NPT_TlsContext::~NPT_TlsContext ( )
override

Member Function Documentation

NPT_Result NPT_TlsContext::AddTrustAnchor ( const unsigned char *  ta_data,
NPT_Size  ta_data_size 
)

Add one trust anchor.

NPT_Result NPT_TlsContext::AddTrustAnchors ( const NPT_TlsTrustAnchorData *  anchors,
NPT_Cardinal  anchor_count = 0 
)

Add one or more trust anchors, from a list.

Parameters
anchorsArray of trust anchor data
anchor_countNumber 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).
NPT_Result NPT_TlsContext::LoadKey ( NPT_TlsKeyFormat  key_format,
const unsigned char *  key_data,
NPT_Size  key_data_size,
const char *  password 
)
NPT_Result NPT_TlsContext::SelfSignCertificate ( const char *  common_name,
const char *  organization,
const char *  organizational_name 
)

Member Data Documentation

NPT_TlsContextImpl* NPT_TlsContext::m_Impl
protected

Definition at line 162 of file NptTls.h.


The documentation for this class was generated from the following file:
  • NptTls.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 03:10:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages
-->

graphics API Reference

Skip menu "graphics API Reference"
  • digikam
  • KDiagram
  •     KChart
  •     KGantt
  • KPhotoAlbum
  •   AndroidRemoteControl
  • Krita
  •   libs
  •     KritaBasicFlakes
  •     brush
  •     KritaUndo2
  •     KritaFlake
  •     image
  •     KritaPlugin
  •     Krita
  •     KritaOdf
  •     KritaPigment
  •     KritaStore
  •     ui
  •     KritaWidgets
  •     KritaWidgetUtils
  •   plugins
  •     Assitants
  •     Extensions
  •     Filters
  •         KritaText
  •         KritaTextLayout
  •     Generators
  •     Formats
  •             src
  •     PaintOps
  •       libpaintop
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal