Workspace 6.21.5
Public Slots | Signals | Public Member Functions | List of all members
CertificateBrowserWidget Class Reference

#include <Authentication/Common/certificatebrowserwidget.h>

Inherits QWidget.

Public Slots

void onCertificateFileButtonClicked ()
 
void onKeyFileButtonClicked ()
 

Signals

void onCertificateChanged (QString certificatePath)
 
void onKeyChanged (QString keyPath)
 

Public Member Functions

 CertificateBrowserWidget (QWidget *parent=nullptr)
 
 ~CertificateBrowserWidget () override
 
QString getPrivateKeyPath () const
 
QString getPublicKeyPath () const
 
bool getUseSecureConnection () const
 
void setPrivateKeyPath (const QString &)
 
void setPublicKeyPath (const QString &)
 
void setUseSecureConnection (bool)
 

Detailed Description

Provides a user interface for setting and getting the OpenSSL public and private keys.

Constructor & Destructor Documentation

◆ CertificateBrowserWidget()

CertificateBrowserWidget ( QWidget *  parent = nullptr)

◆ ~CertificateBrowserWidget()

~CertificateBrowserWidget ( )
overridedefault

Member Function Documentation

◆ getPrivateKeyPath()

QString getPrivateKeyPath ( ) const

Gets the user specified private key path.

◆ getPublicKeyPath()

QString getPublicKeyPath ( ) const

Returns the path of the user specified public key.

Returns
The path of the user specified public key.

◆ getUseSecureConnection()

bool getUseSecureConnection ( ) const

Indicates if the public and private key infrastructure should be used.

Returns
Returns true if a secure connection should be used.

◆ onCertificateChanged

void onCertificateChanged ( QString  certificatePath)
signal

◆ onCertificateFileButtonClicked

void onCertificateFileButtonClicked ( )
slot

Helper routine that displays a 'file open' dialog to enable a user to specify a certificate.

◆ onKeyChanged

void onKeyChanged ( QString  keyPath)
signal

◆ onKeyFileButtonClicked

void onKeyFileButtonClicked ( )
slot

◆ setPrivateKeyPath()

void setPrivateKeyPath ( const QString &  path)

Sets the private key path.

Parameters
pathThe path of the private key.

◆ setPublicKeyPath()

void setPublicKeyPath ( const QString &  path)

Sets the public key path.

Parameters
pathThe path of the public key.

◆ setUseSecureConnection()

void setUseSecureConnection ( bool  val)

Indicates that a secure connection should be used by the server.

Parameters
valA flag to indicate the connection should be secure.