X509ContentType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the format of an X.509 certificate.
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
- Inheritance
- Attributes
Fields
Authenticode | 6 | An Authenticode X.509 certificate. |
Cert | 1 | A single X.509 certificate. |
Pfx | 3 | A PFX-formatted certificate. The |
Pkcs12 | 3 | A PKCS #12-formatted certificate. The |
Pkcs7 | 5 | A PKCS #7-formatted certificate. |
SerializedCert | 2 | A single serialized X.509 certificate. |
SerializedStore | 4 | A serialized store. |
Unknown | 0 | An unknown X.509 certificate. |
Remarks
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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기