CertificateEncryptionOptions

CertificateEncryptionOptions

ภาพรวม

CertificateEncryptionOptions เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET.

รวมหลักฐานสาธารณะที่ใช้ในการเข้ารหัสเอกสาร และคลังกุญแจส่วนตัว ที่จําเป็นต้องปลดร่องมัน.

หมวดนี้ให้ 4 วิธีในการทํางานกับ CertificateEncryptionOptions วัตถุในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: CertificateEncryptionOptions. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net. คุณสมบัติ: PfxPassword, PfxPath, PublicCertificate, StoreLocation, StoreName.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
PublicCertificateX509Certificate2อ่านเอกสารที่ใช้หลักสูตรเปิดเผย ที่เข้ารหัสเอกลักษณ์ (รายการผู้รับของพจนานุกรมจัดการความปลอดภัย PDF Public-Key).
PfxPathstring?อ่านเส้นทางไปยังไฟล์ PFX/PKCS#12 ที่ถือคีย์ส่วนตัวที่ตรงกับ PublicCertificate หรือเป็น null เมื่อคีญี่ปุ้ยส่วนกลางอยู่ในสตอเรอร์ประกาศนียบัตร Windows.
PfxPasswordstring?อ่านคําแปลสําหรับไฟล์ PFX ที่ PfxPath หรือ null เมื่อไฟ่ไม่คุ้มครองด้วยคําแท้.
StoreNameStoreName?อ่านเซอร์ติเฟกต์ Windows ที่มีคีย์ส่วนตัว เมื่อไม่มี PfxPath ถูกส่งมา.
StoreLocationStoreLocation?อ่านที่ตั้งของร้านรับรอง Windows.

วิธีการ

Signatureคําอธิบาย
CertificateEncryptionOptions(publicCertificate: X509Certificate2, pfxPath: string, pfxPassword: string)เรียก CertificateEncryptionOptions ((publicCertificate, pfxPath, PfxPassword) ในตัวอย่างนี้ CertificateEncryptionOptions.
CertificateEncryptionOptions(publicCertificate: X509Certificate2, storeName: StoreName, storeLocation: StoreLocation)เรียก CertificateEncryptionOptions ((publicCertificate, storeName, shopLocation) ในตัวอย่างนี้ CertificateEncryptionOptions.
CertificateEncryptionOptions(publicCertificatePath: string, pfxPath: string, pfxPassword: string)เรียก CertificateEncryptionOptions ((publicCertificatePath, pfxPth, PfxPassword) ในตัวอย่างนี้ CertificateEncryptionOptions.
CertificateEncryptionOptions(publicCertificatePath: string, storeName: StoreName, storeLocation: StoreLocation)เรียก CertificateEncryptionOptions ((publicCertificatePath, storeName, shopLocation) ในตัวอย่างนี้ CertificateEncryptionOptions.

ดูเช่นกัน

 ภาษาไทย