summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cscript_signaturepseudomodel.h
blob: 37d686c9d57aac6ae47eca878e9d60cd755db244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_FXFA_PARSER_CSCRIPT_SIGNATUREPSEUDOMODEL_H_
#define XFA_FXFA_PARSER_CSCRIPT_SIGNATUREPSEUDOMODEL_H_

#include "fxjs/cjx_signaturepseudomodel.h"
#include "xfa/fxfa/parser/cxfa_object.h"

class CFXJSE_Arguments;

class CScript_SignaturePseudoModel : public CXFA_Object {
 public:
  explicit CScript_SignaturePseudoModel(CXFA_Document* pDocument);
  ~CScript_SignaturePseudoModel() override;

  CJX_SignaturePseudoModel* JSSignaturePseudoModel() {
    return static_cast<CJX_SignaturePseudoModel*>(JSObject());
  }

  void Verify(CFXJSE_Arguments* pArguments);
  void Sign(CFXJSE_Arguments* pArguments);
  void Enumerate(CFXJSE_Arguments* pArguments);
  void Clear(CFXJSE_Arguments* pArguments);
};

#endif  // XFA_FXFA_PARSER_CSCRIPT_SIGNATUREPSEUDOMODEL_H_