X509ContentType Énumération
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Spécifie le format d’un certificat X.509.
public enum class X509ContentType
public enum X509ContentType
[System.Runtime.InteropServices.ComVisible(true)]
public enum X509ContentType
type X509ContentType =
[<System.Runtime.InteropServices.ComVisible(true)>]
type X509ContentType =
Public Enum X509ContentType
- Héritage
- Attributs
Champs
| Nom | Valeur | Description |
|---|---|---|
| Unknown | 0 | Certificat X.509 inconnu. |
| Cert | 1 | Un seul certificat X.509. |
| SerializedCert | 2 | Un certificat X.509 sérialisé unique. |
| Pfx | 3 | Certificat au format PFX. La |
| Pkcs12 | 3 | Certificat au format PKCS #12. La |
| SerializedStore | 4 | Magasin sérialisé. |
| Pkcs7 | 5 | Certificat au format PKCS #7. |
| Authenticode | 6 | Certificat Authenticode X.509. |
Remarques
Les types de contenu Cert, Pkcs12 et SerializedCert peuvent être exportés en tant que tableaux d’octets. Par conséquent, les trois formats sont des certificats sérialisés. SerializedCert diffère d’un fichier de certificat exporté dans lequel il est créé à l’aide de la fonction CertSerializeCertificateStoreElement, qui sérialise à la fois le certificat encodé et ses propriétés encodées. Si vous exportez le même X509Certificate objet dans les deux formats et affichez les tableaux d’octets résultants, vous verrez que les deux sont différents.