7#include "fxjs/xfa/cjx_signaturepseudomodel.h"
11#include "fxjs/js_resources.h"
12#include "fxjs/xfa/cfxjse_engine.h"
13#include "fxjs/xfa/cfxjse_value.h"
14#include "third_party/base/containers/span.h"
15#include "v8/include/v8-primitive.h"
16#include "xfa/fxfa/parser/cscript_signaturepseudomodel.h"
19 {
"verify", verifySignature_static},
20 {
"sign", sign_static},
21 {
"enumerate", enumerate_static},
22 {
"clear", clear_static}};
24CJX_SignaturePseudoModel::CJX_SignaturePseudoModel(
25 CScript_SignaturePseudoModel* model)
36CJS_Result CJX_SignaturePseudoModel::verifySignature(
38 pdfium::span<v8::Local<v8::Value>> params) {
39 if (params.empty() || params.size() > 4)
47 pdfium::span<v8::Local<v8::Value>> params) {
48 if (params.size() < 3 || params.size() > 7)
56 pdfium::span<v8::Local<v8::Value>> params) {
65 pdfium::span<v8::Local<v8::Value>> params) {
66 if (params.empty() || params.size() > 2)
friend class EventParamScope
static CJS_Result Success()
static CJS_Result Failure(JSMessage id)
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
virtual bool DynamicTypeIs(TypeTag eType) const
~CJX_SignaturePseudoModel() override
bool DynamicTypeIs(TypeTag eType) const override