X509ContentType Enumeration
Updated: February 2010
Specifies the format of an X.509 certificate.
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| Unknown | An unknown X.509 certificate. | |
| Cert | A single X.509 certificate. | |
| SerializedCert | A single serialized X.509 certificate. | |
| Pfx | A PFX-formatted certificate. The Pfx value is identical to the Pkcs12 value. | |
| Pkcs12 | A PKCS #12–formatted certificate. The Pkcs12 value is identical to the Pfx value. | |
| SerializedStore | A serialized store. | |
| Pkcs7 | A PKCS #7–formatted certificate. | |
| Authenticode | An Authenticode X.509 certificate. |
Content types Cert, Pkcs12, and SerializedCert can be exported as byte arrays. Therefore, all three formats are serialized certificates. SerializedCert differs from an exported Cert file in that it is created by using the CertSerializeCertificateStoreElement function, which serializes both the encoded certificate and its encoded properties. If you export the same X509Certificate object in both formats and view the resulting byte arrays, you will see that the two are different.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.