diff options
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 + |