diff options
Diffstat (limited to 'cpp/src/Ice/CryptKey.cpp')
-rw-r--r-- | cpp/src/Ice/CryptKey.cpp | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/cpp/src/Ice/CryptKey.cpp b/cpp/src/Ice/CryptKey.cpp deleted file mode 100644 index e9cf4c5ddfa..00000000000 --- a/cpp/src/Ice/CryptKey.cpp +++ /dev/null @@ -1,50 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2002 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#include <Ice/CryptKey.h> - -using Ice::ByteSeq; - -void ::IceInternal::incRef(::SecureUdp::CryptKey* p) { p->__incRef(); } -void ::IceInternal::decRef(::SecureUdp::CryptKey* p) { p->__decRef(); } - -SecureUdp::CryptKey::CryptKey(const ByteSeq& key) : - _keyBytes(key) -{ -} - -SecureUdp::CryptKey::~CryptKey() -{ -} - -const ByteSeq& -SecureUdp::CryptKey::toByteSeq() const -{ - return _keyBytes; -} - -bool -SecureUdp::CryptKey::operator == (const CryptKey& key) const -{ - return _keyBytes == key._keyBytes; -} - -bool -SecureUdp::CryptKey::operator != (const CryptKey& key) const -{ - return !operator==(key); -} - -bool -SecureUdp::CryptKey::operator < (const CryptKey& key) const -{ - return _keyBytes < key._keyBytes; -} - |