CertificateEncryptionOptions

CertificateEncryptionOptions

Vue d’ensemble

CertificateEncryptionOptions est une classe dans Aspose.PDF FOSS pour .NET.

Regroupe le certificat public utilisé pour chiffrer un document et le magasin de clés privées nécessaire pour le déchiffrer.

Cette classe fournit 4 méthodes pour travailler avec des objets CertificateEncryptionOptions dans les programmes .NET.
Les méthodes disponibles incluent : CertificateEncryptionOptions.
Tous les membres publics sont accessibles à toute application .NET après l’installation du package Aspose.PDF FOSS for .NET.
Propriétés : PfxPassword, PfxPath, PublicCertificate, StoreLocation, StoreName.

Propriétés

NameTypeAccessDescription
PublicCertificateX509Certificate2ReadCertificat à clé publique qui a chiffré le document (l’entrée Recipient d’un dictionnaire de gestionnaire de sécurité PDF à clé publique).
PfxPathstring?ReadChemin vers un fichier PFX/PKCS#12 contenant la clé privée correspondant à PublicCertificate, ou null lorsque la clé privée se trouve dans un magasin de certificats Windows.
PfxPasswordstring?ReadMot de passe du fichier PFX situé à PfxPath, ou null lorsque le fichier n’est pas protégé par un mot de passe.
StoreNameStoreName?ReadMagasin de certificats Windows contenant la clé privée, lorsqu’aucun PfxPath n’est fourni.
StoreLocationStoreLocation?ReadEmplacement du magasin de certificats Windows.

Méthodes

SignatureDescription
CertificateEncryptionOptions(publicCertificate: X509Certificate2, pfxPath: string, pfxPassword: string)Appelle CertificateEncryptionOptions(publicCertificate, pfxPath, pfxPassword) sur cette instance CertificateEncryptionOptions.
CertificateEncryptionOptions(publicCertificate: X509Certificate2, storeName: StoreName, storeLocation: StoreLocation)Appelle CertificateEncryptionOptions(publicCertificate, storeName, storeLocation) sur cette instance CertificateEncryptionOptions.
CertificateEncryptionOptions(publicCertificatePath: string, pfxPath: string, pfxPassword: string)Appelle CertificateEncryptionOptions(publicCertificatePath, pfxPath, pfxPassword) sur cette instance CertificateEncryptionOptions.
CertificateEncryptionOptions(publicCertificatePath: string, storeName: StoreName, storeLocation: StoreLocation)Appelle CertificateEncryptionOptions(publicCertificatePath, storeName, storeLocation) sur cette instance CertificateEncryptionOptions.

Voir aussi

 Français