diff options
| author | Vincent Richard <[email protected]> | 2005-10-30 15:02:39 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-10-30 15:02:39 +0000 |
| commit | 4522121196f11de0200ed54ea50830c1baf017a6 (patch) | |
| tree | 10dc792a93779ac0546291acf8064fd0efa138ed /src/net/tls/certificateChain.cpp | |
| parent | Added flush() on 'outputStream' + added unit tests for 'charsetFilteredOutput... (diff) | |
| download | vmime-4522121196f11de0200ed54ea50830c1baf017a6.tar.gz vmime-4522121196f11de0200ed54ea50830c1baf017a6.zip | |
Moved certificate code into 'vmime::net::security::cert' namespace.
Diffstat (limited to 'src/net/tls/certificateChain.cpp')
| -rw-r--r-- | src/net/tls/certificateChain.cpp | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/src/net/tls/certificateChain.cpp b/src/net/tls/certificateChain.cpp deleted file mode 100644 index 52855cc2..00000000 --- a/src/net/tls/certificateChain.cpp +++ /dev/null @@ -1,53 +0,0 @@ -// -// VMime library (http://www.vmime.org) -// Copyright (C) 2002-2005 Vincent Richard <[email protected]> -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this program; if not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -// -// Linking this library statically or dynamically with other modules is making -// a combined work based on this library. Thus, the terms and conditions of -// the GNU General Public License cover the whole combination. -// - -#include "vmime/net/tls/certificateChain.hpp" - - -namespace vmime { -namespace net { -namespace tls { - - -certificateChain::certificateChain(const std::vector <ref <certificate> >& certs) - : m_certs(certs) -{ -} - - -const unsigned int certificateChain::getCount() const -{ - return static_cast <unsigned int>(m_certs.size()); -} - - -ref <certificate> certificateChain::getAt(const unsigned int index) -{ - return m_certs[index]; -} - - -} // tls -} // net -} // vmime - |
