The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

cmd_sslinfo Class Reference

Handle /SSLINFO. More...

Inheritance diagram for cmd_sslinfo:

Inheritance graph
[legend]
Collaboration diagram for cmd_sslinfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 cmd_sslinfo (InspIRCd *Instance)
CmdResult Handle (const std::vector< std::string > &parameters, User *user)
 Handle the command from a user.

Detailed Description

Handle /SSLINFO.

Definition at line 26 of file m_sslinfo.cpp.


Constructor & Destructor Documentation

cmd_sslinfo::cmd_sslinfo InspIRCd Instance  )  [inline]
 

Definition at line 29 of file m_sslinfo.cpp.

References Command::source, and Command::syntax.


Member Function Documentation

CmdResult cmd_sslinfo::Handle const std::vector< std::string > &  parameters,
User user
[inline, virtual]
 

Handle the command from a user.

Parameters:
parameters The parameters for the command.
user The user who issued the command.
Returns:
Return CMD_SUCCESS on success, or CMD_FAILURE on failure. If the command succeeds but should remain local to this server, return CMD_LOCALONLY.

Implements Command.

Definition at line 35 of file m_sslinfo.cpp.

References CMD_FAILURE, CMD_SUCCESS, ERR_NOSUCHNICK, InspIRCd::FindNick(), ssl_cert::GetDN(), ssl_cert::GetError(), Extensible::GetExt(), ssl_cert::GetFingerprint(), ssl_cert::GetIssuer(), User::nick, Command::ServerInstance, User::WriteNumeric(), and User::WriteServ().


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