(Pre-shared) client certificates are no longer maintained by hash only
This commit is contained in:
@@ -33,11 +33,6 @@
|
||||
///
|
||||
class wxCertificateClientData;
|
||||
|
||||
///
|
||||
/// Helper class for auto-destroyable certificates used in wxWidget's item containers
|
||||
///
|
||||
class wxCertificateSelectionClientData;
|
||||
|
||||
///
|
||||
/// Validator for host name
|
||||
///
|
||||
@@ -116,45 +111,6 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class wxCertificateSelectionClientData : public wxClientData
|
||||
{
|
||||
public:
|
||||
///
|
||||
/// Default constructor
|
||||
///
|
||||
wxCertificateSelectionClientData();
|
||||
|
||||
///
|
||||
/// Constructs client data object
|
||||
///
|
||||
wxCertificateSelectionClientData(const wchar_t *identity, unsigned char *hash, size_t hash_size);
|
||||
|
||||
///
|
||||
/// Constructs client data object with copy
|
||||
///
|
||||
wxCertificateSelectionClientData(const std::wstring &identity, const std::vector<unsigned char> &hash);
|
||||
|
||||
///
|
||||
/// Constructs client data object with move
|
||||
///
|
||||
wxCertificateSelectionClientData(std::wstring &&identity, std::vector<unsigned char> &&hash);
|
||||
|
||||
///
|
||||
/// Constructs client data object with copy
|
||||
///
|
||||
wxCertificateSelectionClientData(const wxCertificateSelectionClientData &other);
|
||||
|
||||
///
|
||||
/// Constructs client data object with move
|
||||
///
|
||||
wxCertificateSelectionClientData(wxCertificateSelectionClientData &&other);
|
||||
|
||||
public:
|
||||
std::wstring m_identity; ///< Client identity
|
||||
std::vector<unsigned char> m_hash; ///< Client certificate hash (certificates are kept in Personal Certificate Storage)
|
||||
};
|
||||
|
||||
|
||||
class wxHostNameValidator : public wxValidator
|
||||
{
|
||||
wxDECLARE_DYNAMIC_CLASS(wxHostNameValidator);
|
||||
|
Reference in New Issue
Block a user