Foxit PDF SDK
foxit::ofd::ofdseal::SignSignature类 参考
类 foxit::ofd::ofdseal::SignSignature 继承关系图:
foxit::ofd::ofdseal::Signature foxit::Base

Public 成员函数

 SignSignature (Signature object)
 构造函数,从现有foxit::ofd::ofdseal::Signature对象。 更多...
 
 SignSignature (const SignSignature &other)
 构造函数,通过另一个签名对象。 更多...
 
 ~SignSignature ()
 析构函数。
 
bool ExportPublicCertificateFile (const String &file_path)
 导出公钥证书文件。 更多...
 
foxit::common::Bitmap GetImage ()
 获取电子印章图片。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const SignSignature &other) const
 不相等操作符。 更多...
 
SignSignatureoperator= (const SignSignature &other)
 赋值操作符。 更多...
 
bool operator== (const SignSignature &other) const
 相等操作符。 更多...
 
bool Verify ()
 验证签名的有效性。 更多...
 
- Public 成员函数 继承自 foxit::ofd::ofdseal::Signature
 Signature (const Signature &other)
 构造函数,通过另一个签名对象。 更多...
 
 ~Signature ()
 析构函数。
 
WString GetCompany ()
 获取公司名称。 更多...
 
WString GetDigestMethod ()
 获取摘要算法名称。 更多...
 
WString GetProviderName ()
 获取提供者名称。 更多...
 
WString GetSignMethod ()
 获取签名算法名称。 更多...
 
SignatureType GetType ()
 获取签名类型。 更多...
 
WString GetVerifyMessage ()
 获取验证结果详细信息。 更多...
 
WString GetVersion ()
 获取签名或签章版本。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool Operate (const foxit::ofd::ofdseal::OperateSignatureInfo &info)
 对OFD文档内的签名或签章进行操作。 更多...
 
bool operator != (const Signature &other) const
 不相等操作符. 更多...
 
Signatureoperator= (const Signature &other)
 赋值操作符。 更多...
 
bool operator== (const Signature &other) const
 相等操作符。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

额外继承的成员函数

- Public 类型 继承自 foxit::ofd::ofdseal::Signature
enum  SignatureType { e_SignatureTypeDefault = 0, e_SignatureTypeSeal = 1, e_SignatureTypeSign = 2, e_SignatureTypeTimeStamp = 3 }
 OFD文档签名类型枚举。 更多...
 

详细描述

此类表示OFD文档签名对象相关的操作。

构造及析构函数说明

◆ SignSignature() [1/2]

foxit::ofd::ofdseal::SignSignature::SignSignature ( Signature  object)
explicit

构造函数,从现有foxit::ofd::ofdseal::Signature对象。

参数
[in]objectSignature对象。 此对象必须是一个有效的对象,并且其类型必须是foxit::ofd::ofdseal::SignatureType::e_SignatureTypeSign,否则构造函数将抛出异常。

◆ SignSignature() [2/2]

foxit::ofd::ofdseal::SignSignature::SignSignature ( const SignSignature other)

构造函数,通过另一个签名对象。

参数
[in]other另一个签名对象。

成员函数说明

◆ ExportPublicCertificateFile()

bool foxit::ofd::ofdseal::SignSignature::ExportPublicCertificateFile ( const String file_path)

导出公钥证书文件。

参数
[in]file_path公钥证书文件保存的目标路径。
返回
true表示导出成功,false表示导出失败。

◆ GetImage()

foxit::common::Bitmap foxit::ofd::ofdseal::SignSignature::GetImage ( )

获取电子印章图片。

返回
图像对象。详见 foxit::common::Bitmap

◆ IsEmpty()

bool foxit::ofd::ofdseal::SignSignature::IsEmpty ( ) const

检查当前对象是否为空。

当前对象为空时,表示当前对象是无用的。

返回
true 表示当前对象为空,false 表示不为空。

◆ operator !=()

bool foxit::ofd::ofdseal::SignSignature::operator != ( const SignSignature other) const

不相等操作符。

参数
[in]other另一个签名对象。此函数将检查当前对象是否不等于这个对象。
返回
true 表示不相等,false 表示相等。

◆ operator=()

SignSignature& foxit::ofd::ofdseal::SignSignature::operator= ( const SignSignature other)

赋值操作符。

参数
[in]other另一个签名对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ operator==()

bool foxit::ofd::ofdseal::SignSignature::operator== ( const SignSignature other) const

相等操作符。

参数
[in]other另一个签名对象。此函数将检查当前对象是否等于这个对象。
返回
true 表示相等,false 表示不相等。

◆ Verify()

bool foxit::ofd::ofdseal::SignSignature::Verify ( )

验证签名的有效性。

返回
true 表示验证成功,false 表示验证失败。