CertificateEncryptionOptions
ภาพรวม
CertificateEncryptionOptions เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET.
รวมหลักฐานสาธารณะที่ใช้ในการเข้ารหัสเอกสาร และคลังกุญแจส่วนตัว ที่จําเป็นต้องปลดร่องมัน.
หมวดนี้ให้ 4 วิธีในการทํางานกับ CertificateEncryptionOptions วัตถุในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: CertificateEncryptionOptions. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net. คุณสมบัติ: PfxPassword, PfxPath, PublicCertificate, StoreLocation, StoreName.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
PublicCertificate | X509Certificate2 | อ่าน | เอกสารที่ใช้หลักสูตรเปิดเผย ที่เข้ารหัสเอกลักษณ์ (รายการผู้รับของพจนานุกรมจัดการความปลอดภัย PDF Public-Key). |
PfxPath | string? | อ่าน | เส้นทางไปยังไฟล์ PFX/PKCS#12 ที่ถือคีย์ส่วนตัวที่ตรงกับ PublicCertificate หรือเป็น null เมื่อคีญี่ปุ้ยส่วนกลางอยู่ในสตอเรอร์ประกาศนียบัตร Windows. |
PfxPassword | string? | อ่าน | คําแปลสําหรับไฟล์ PFX ที่ PfxPath หรือ null เมื่อไฟ่ไม่คุ้มครองด้วยคําแท้. |
StoreName | StoreName? | อ่าน | เซอร์ติเฟกต์ Windows ที่มีคีย์ส่วนตัว เมื่อไม่มี PfxPath ถูกส่งมา. |
StoreLocation | StoreLocation? | อ่าน | ที่ตั้งของร้านรับรอง 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. |