CertificateEncryptionOptions
General
CertificateEncryptionOptions és una classe en FOSS per a .NET.
Encapsula el certificat públic utilitzat per xifrar un document i la seva clau privada necessària per desxifrat-lo.
Aquesta classe proporciona 4 mètodes per treballar amb objectes CertificateEncryptionOptions en programes .NET. Els mètodes disponibles inclouen: CertificateEncryptionOptions. Tots els membres públics són accessibles a qualsevol aplicació .NET després d’instal·lar el paquet FOSS per .Net. Propietats: PfxPassword, PfxPath, PublicCertificate, StoreLocation, StoreName.
Propietats
| Nom | Tipus de productes | Access | Descripció |
|---|---|---|---|
PublicCertificate | X509Certificate2 | Llegeix. | Certificat de clau pública que ha xifrat el document (l’entrada del destinatari d’un diccionari de gestió de seguretat amb clau publica PDF). |
PfxPath | string? | Llegeix. | Camin a un arxiu PFX/PKCS#12 que conté la clau privada corresponent PublicCertificate, o nul·la quan la claus privada està en una botiga de certificats de Windows. |
PfxPassword | string? | Llegeix. | Password per al fitxer PFX a PfxPath, o null quan el fitxatge no està protegit amb contrasenya. |
StoreName | StoreName? | Llegeix. | Emmagatzemar el certificat de Windows que conté la clau privada, quan no es subministra cap PfxPath. |
StoreLocation | StoreLocation? | Llegeix. | Ubicació de la botiga de certificats Windows. |
Mètodes
| Signature | Descripció |
|---|---|
CertificateEncryptionOptions(publicCertificate: X509Certificate2, pfxPath: string, pfxPassword: string) | L’instança CertificateEncryptionOptions ((publicCertificat, pfxPath, PfxPassword) es diu en aquesta instància CertificateEncryptionOptions. |
CertificateEncryptionOptions(publicCertificate: X509Certificate2, storeName: StoreName, storeLocation: StoreLocation) | L’instancia CertificateEncryptionOptions ((publicCertificat, nom de la botiga, ubicació de l’entorn) es diu en aquesta instància CertificateEncryptionOptions. |
CertificateEncryptionOptions(publicCertificatePath: string, pfxPath: string, pfxPassword: string) | L’instança CertificateEncryptionOptions ((publicCertificatePath, pfxPth, PfxPassword) és l’Instancia de la pàgina web. |
CertificateEncryptionOptions(publicCertificatePath: string, storeName: StoreName, storeLocation: StoreLocation) | L’inventari CertificateEncryptionOptions(publicCertificatePath, storeName, shopLocation) es troba en aquesta instància. |