summaryrefslogtreecommitdiff
path: root/src/manager/crypto/generic-backend/gobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/crypto/generic-backend/gobj.h')
-rw-r--r--src/manager/crypto/generic-backend/gobj.h49
1 files changed, 25 insertions, 24 deletions
diff --git a/src/manager/crypto/generic-backend/gobj.h b/src/manager/crypto/generic-backend/gobj.h
index fc779fb8..9da3b887 100644
--- a/src/manager/crypto/generic-backend/gobj.h
+++ b/src/manager/crypto/generic-backend/gobj.h
@@ -32,37 +32,38 @@ namespace Crypto {
class GObj {
protected:
- GObj() {}
+ GObj() {}
public:
- virtual RawBuffer getBinary() const
- {
- ThrowErr(Exc::Crypto::OperationNotSupported);
- }
+ virtual RawBuffer getBinary() const
+ {
+ ThrowErr(Exc::Crypto::OperationNotSupported);
+ }
- virtual RawBuffer encrypt(const CryptoAlgorithm &, const RawBuffer &)
- {
- ThrowErr(Exc::Crypto::OperationNotSupported);
- }
+ virtual RawBuffer encrypt(const CryptoAlgorithm &, const RawBuffer &)
+ {
+ ThrowErr(Exc::Crypto::OperationNotSupported);
+ }
- virtual RawBuffer decrypt(const CryptoAlgorithm &, const RawBuffer &)
- {
- ThrowErr(Exc::Crypto::OperationNotSupported);
- }
+ virtual RawBuffer decrypt(const CryptoAlgorithm &, const RawBuffer &)
+ {
+ ThrowErr(Exc::Crypto::OperationNotSupported);
+ }
- virtual RawBuffer sign(const CryptoAlgorithm &, const RawBuffer &)
- {
- ThrowErr(Exc::Crypto::OperationNotSupported);
- }
+ virtual RawBuffer sign(const CryptoAlgorithm &, const RawBuffer &)
+ {
+ ThrowErr(Exc::Crypto::OperationNotSupported);
+ }
- virtual int verify(const CryptoAlgorithm &, const RawBuffer &, const RawBuffer &)
- {
- ThrowErr(Exc::Crypto::OperationNotSupported);
- }
+ virtual int verify(const CryptoAlgorithm &, const RawBuffer &,
+ const RawBuffer &)
+ {
+ ThrowErr(Exc::Crypto::OperationNotSupported);
+ }
- virtual ~GObj()
- {
- }
+ virtual ~GObj()
+ {
+ }
};
typedef std::unique_ptr<GObj> GObjUPtr;