Class Signature

Class Signature

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

يمثل مكون Aspose.Pdf.Plugins.Signature.

public sealed class Signature : IPlugin

الوراثة

objectSignature

التنفيذ

IPlugin

الأعضاء الموروثة

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

أمثلة

المثال يوضح كيفية توقيع مستند PDF.

// إنشاء توقيع
var plugin = new Signature();
// إنشاء كائن SignOptions لتعيين التعليمات
var opt = new SignOptions(inputPfx, inputPfxPassword);
// إضافة مسار الملف المدخل
opt.AddInput(new FileDataSource(inputPath));
// تعيين مسار الملف الناتج
opt.AddOutput(new FileDataSource(outputPath));
// تنفيذ العملية
plugin.Process(opt);

المنشئات

Signature()

public Signature()

الطرق

Process(IPluginOptions)

يبدأ معالجة Aspose.Pdf.Plugins.Signature بالمعلمات المحددة.

public ResultContainer Process(IPluginOptions options)

المعلمات

options IPluginOptions

كائن خيارات يحتوي على تعليمات لـ Aspose.Pdf.Plugins.Signature.

العائدات

ResultContainer

كائن ResultContainer يحتوي على نتيجة العملية.

الاستثناءات

InvalidOperationException

 عربي