12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef EPID_COMMON_TESTHELPER_VERIFIER_WRAPPER_TESTHELPER_H_
- #define EPID_COMMON_TESTHELPER_VERIFIER_WRAPPER_TESTHELPER_H_
- extern "C" {
- #include "epid/verifier/api.h"
- }
- class VerifierCtxObj {
- public:
-
- explicit VerifierCtxObj(GroupPubKey const& pub_key);
-
- VerifierCtxObj(GroupPubKey const& pub_key, VerifierPrecomp const& precomp);
-
-
- VerifierCtxObj(const VerifierCtxObj&) = delete;
- VerifierCtxObj& operator=(const VerifierCtxObj&) = delete;
-
- ~VerifierCtxObj();
-
- VerifierCtx* ctx() const;
-
- operator VerifierCtx*() const;
-
- operator const VerifierCtx*() const;
- private:
-
- VerifierCtx* ctx_;
- };
- #endif
|