• CertificateCredential
  • class Esri::ArcGISRuntime::Authentication::CertificateCredential

    A certificate network credential, used for authenticating with services secured by Public Key Infrastucure (PKI).. More...

    Header: #include <Authentication/CertificateCredential.h>
    Since: Esri::ArcGISRuntime 200.8
    Inherits: Esri::ArcGISRuntime::Authentication::NetworkCredential

    Public Functions

    virtual ~CertificateCredential() override
    QSslCertificate certificate() const
    QSslKey key() const
    QString password() const

    Detailed Description

    Internally this credential is created via QSslCertificate::importPkcs12.

    See also NetworkCredential::certificate.

    Member Function Documentation

    [override virtual noexcept] CertificateCredential::~CertificateCredential()

    Destructor.

    QSslCertificate CertificateCredential::certificate() const

    Returns the certificate.

    This is populated by the call to QSslCertificate::importPkcs12.

    See also QSslCertificate.

    QSslKey CertificateCredential::key() const

    Returns the key.

    This is populated by the call to QSslCertificate::importPkcs12.

    See also QSslKey.

    QString CertificateCredential::password() const

    Returns the password specified to access the certificate.