diff options
Diffstat (limited to 'cpp/src/Ice/CryptKey.h')
-rw-r--r-- | cpp/src/Ice/CryptKey.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/cpp/src/Ice/CryptKey.h b/cpp/src/Ice/CryptKey.h deleted file mode 100644 index 4da7851e636..00000000000 --- a/cpp/src/Ice/CryptKey.h +++ /dev/null @@ -1,55 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2002 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#ifndef ICE_CRYPT_KEY_H -#define ICE_CRYPT_KEY_H - -#include <IceUtil/Shared.h> -#include <Ice/Stream.h> -#include <Ice/CryptKeyF.h> - -namespace SecureUdp -{ - -class CryptKey : public IceUtil::Shared -{ - -public: - CryptKey(const Ice::ByteSeq&); - virtual ~CryptKey(); - - virtual const Ice::ByteSeq& toByteSeq() const; - - // - // Compare CryptKeys for sorting purposes - // - virtual bool operator==(const CryptKey&) const; - virtual bool operator!=(const CryptKey&) const; - virtual bool operator<(const CryptKey&) const; - -protected: - Ice::ByteSeq _keyBytes; - -}; - -inline bool operator==(const CryptKey& cryptKey, const CryptKeyPtr& cryptKeyPtr) -{ - return (cryptKey == *(cryptKeyPtr.get())); -} - -inline bool operator==(const CryptKeyPtr& cryptKeyPtr, const CryptKey& cryptKey) -{ - return (cryptKey == *(cryptKeyPtr.get())); -} - -} - -#endif - |