diff options
author | Marc Laukien <marc@zeroc.com> | 2002-02-10 12:52:13 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-02-10 12:52:13 +0000 |
commit | 44ecadaa1264fcc3d5eb9390da499d18cf3056cf (patch) | |
tree | 83ba8979ed4866e864e5f2e95fb3cf176e2b8b58 /cpp/src/Ice/MessageAuthenticator.h | |
parent | fix (diff) | |
download | ice-44ecadaa1264fcc3d5eb9390da499d18cf3056cf.tar.bz2 ice-44ecadaa1264fcc3d5eb9390da499d18cf3056cf.tar.xz ice-44ecadaa1264fcc3d5eb9390da499d18cf3056cf.zip |
LoggerUtil
Diffstat (limited to 'cpp/src/Ice/MessageAuthenticator.h')
-rw-r--r-- | cpp/src/Ice/MessageAuthenticator.h | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/cpp/src/Ice/MessageAuthenticator.h b/cpp/src/Ice/MessageAuthenticator.h index c6190da5ce2..246961426e0 100644 --- a/cpp/src/Ice/MessageAuthenticator.h +++ b/cpp/src/Ice/MessageAuthenticator.h @@ -1,51 +1,51 @@ -// **********************************************************************
-//
-// Copyright (c) 2002
-// MutableRealms, Inc.
-// Huntsville, AL, USA
-//
-// All Rights Reserved
-//
-// **********************************************************************
-
-#ifndef ICE_MESSAGE_AUTHENTICATOR_H
-#define ICE_MESSAGE_AUTHENTICATOR_H
-
-#include <IceUtil/Shared.h>
-#include <Ice/Stream.h>
-#include <Ice/MessageAuthenticatorF.h>
-
-namespace IceSecurity
-{
-
-namespace SecureUdp
-{
-
-using IceUtil::Shared;
-using Ice::ByteSeq;
-
-class MessageAuthenticator : public Shared
-{
-
-public:
- MessageAuthenticator();
- MessageAuthenticator(const ByteSeq&);
- virtual ~MessageAuthenticator();
-
- virtual ByteSeq computeMAC(const ByteSeq&) const;
-
- virtual bool authenticate(const ByteSeq&, const ByteSeq&);
-
- virtual const ByteSeq& getMACKey() const;
-
-protected:
- ByteSeq _macKeyBytes;
-
-};
-
-}
-
-}
-
-#endif
-
+// ********************************************************************** +// +// Copyright (c) 2002 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef ICE_MESSAGE_AUTHENTICATOR_H +#define ICE_MESSAGE_AUTHENTICATOR_H + +#include <IceUtil/Shared.h> +#include <Ice/Stream.h> +#include <Ice/MessageAuthenticatorF.h> + +namespace IceSecurity +{ + +namespace SecureUdp +{ + +using IceUtil::Shared; +using Ice::ByteSeq; + +class MessageAuthenticator : public Shared +{ + +public: + MessageAuthenticator(); + MessageAuthenticator(const ByteSeq&); + virtual ~MessageAuthenticator(); + + virtual ByteSeq computeMAC(const ByteSeq&) const; + + virtual bool authenticate(const ByteSeq&, const ByteSeq&); + + virtual const ByteSeq& getMACKey() const; + +protected: + ByteSeq _macKeyBytes; + +}; + +} + +} + +#endif + |