SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWCertificateKeyMismatchError Class Reference

Thrown when the provided RWX509Certificate is not valid for the given RWPrivateKey. More...

#include <rw/secsock/except.h>

Inheritance diagram for RWCertificateKeyMismatchError:
RWExternalErr RWxmsg

Public Member Functions

 RWCertificateKeyMismatchError (const RWCString &funcName, unsigned long errNum)
 
RWCString errorDescription (void) const
 
unsigned long errorNumber (void) const
 
RWCString where (void) const
 
- Public Member Functions inherited from RWxmsg
 RWxmsg (const char *msg)
 
 RWxmsg (const RWxmsg &msg)
 
 RWxmsg (RWxmsg &&msg)
 
RWxmsgoperator= (const RWxmsg &)
 
RWxmsgoperator= (RWxmsg &&msg)
 
virtual void raise () const
 
void swap (RWxmsg &rhs)
 
virtual const char * why () const
 

Additional Inherited Members

- Protected Member Functions inherited from RWxmsg
 RWxmsg (const char *msg, bool doCopy)
 

Detailed Description

An RWCertificateKeyMismatchError is thrown when the provided RWX509Certificate is not valid for the given RWPrivateKey.

See also
RWSecureSocket::setIdentity(), RWSecureSocketContext::setIdentity()

Constructor & Destructor Documentation

RWCertificateKeyMismatchError::RWCertificateKeyMismatchError ( const RWCString funcName,
unsigned long  errNum 
)

Constructor.

Member Function Documentation

RWCString RWCertificateKeyMismatchError::errorDescription ( void  ) const
inline

Returns a text description of the error.

unsigned long RWCertificateKeyMismatchError::errorNumber ( void  ) const
inline

Returns the error number associated with the exception.

RWCString RWCertificateKeyMismatchError::where ( void  ) const
inline

Returns the name of the function that threw the exception.

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.