LibreOffice Module ucbhelper (master)  1
Public Member Functions | List of all members
ucbhelper::SimpleCertificateValidationRequest Class Referencefinal

This class implements a simple validation interaction request of a certificate. More...

#include <simplecertificatevalidationrequest.hxx>

Inheritance diagram for ucbhelper::SimpleCertificateValidationRequest:
Collaboration diagram for ucbhelper::SimpleCertificateValidationRequest:

Public Member Functions

 SimpleCertificateValidationRequest (sal_Int32 lCertificateValidity, const css::uno::Reference< css::security::XCertificate > &certificate, const OUString &hostname)
 Constructor. More...
- Public Member Functions inherited from ucbhelper::InteractionRequest
 InteractionRequest (const css::uno::Any &rRequest)
 Constructor. More...
void setContinuations (const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > &rContinuations)
 This method sets the continuations for the request. More...
virtual css::uno::Any SAL_CALL getRequest () override
virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations () override
rtl::Reference< InteractionContinuation > const & getSelection () const
 After passing this request to XInteractionHandler::handle, this method returns the continuation that was chosen by the interaction handler. More...
void setSelection (const rtl::Reference< InteractionContinuation > &rxSelection)
 This method sets a continuation for the request. More...

Additional Inherited Members

- Protected Member Functions inherited from ucbhelper::InteractionRequest
void setRequest (const css::uno::Any &rRequest)
 InteractionRequest ()
virtual ~InteractionRequest () override

Detailed Description

This class implements a simple validation interaction request of a certificate.

Instances can be passed directly to XInteractionHandler::handle(...). Each instance contains a CertificateValidationRequest and two interaction continuations: "Abort" and "Approved". The parameters for the CertificateValidationRequest object are partly taken from constructors parameters and partly defaulted as follows:

Read-write values: certificateValidity, certificate

See also

Definition at line 46 of file simplecertificatevalidationrequest.hxx.

Constructor & Destructor Documentation

SimpleCertificateValidationRequest::SimpleCertificateValidationRequest ( sal_Int32  lCertificateValidity,
const css::uno::Reference< css::security::XCertificate > &  certificate,
const OUString &  hostname 


lCertificateValiditycontains a bitmask which validation error occur.
pCertificatecontains the server certificate.

Definition at line 27 of file simplecertificatevalidationrequest.cxx.

References com::sun::star::uno::makeAny().

The documentation for this class was generated from the following files: