Cross-Platform C++

ot::ssl
class SSLPeerUnverifiedException

#include "ot/ssl/SSLPeerUnverifiedException.h"

ot::ssl::SSLException ot::io::IOException ot::Exception Thrown when the identity of a peer host could not be verified. The SSL protocol identifies peer hosts by the use of public key infrastructure (PKI), and verifies them using certificates from trusted Certification Authorities (CAs). This exception will be thrown when the required CA certificate cannot be located on the local host or when the presented peer certificate is not valid. Refer to the SSLContext class for details of how to specify the locations of trusted CA certificates.




Constructor/Destructor Summary
SSLPeerUnverifiedException()
Constructs a SSLPeerUnverifiedException without a detail message.
SSLPeerUnverifiedException(const String& message)
Constructs a SSLPeerUnverifiedException with a detail message.

Method Summary
virtual String getExceptionType()const
Returns the class name as a String.

Methods inherited from class ot::Exception
getDescription(), getLocalizedDescription(), getMessage(), setMessage(const String&), toString()

Constructor/Destructor Detail

SSLPeerUnverifiedException

SSLPeerUnverifiedException()
Constructs a SSLPeerUnverifiedException without a detail message.


SSLPeerUnverifiedException

SSLPeerUnverifiedException(const String& message)
Constructs a SSLPeerUnverifiedException with a detail message.

Parameters:
message - the detail message.

Method Detail

getExceptionType

virtual StringgetExceptionType()const
Returns the class name as a String. This method should be overridden in all derived classes to return the name of the derived class.

See also:
getDescription()


Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright 2000-2005 ElCel Technology Trademark Acknowledgements