System::Security::Cryptography::X509Certificates::X509Certificate2::GetNameInfo 方法
X509Certificate2::GetNameInfo method
获取证书的主题或颁发者名称。
String System::Security::Cryptography::X509Certificates::X509Certificate2::GetNameInfo(X509NameType name_type, bool for_issuer) const
| 参数 | 类型 | 描述 |
|---|---|---|
| name_type | X509NameType | 名称格式化选项。 |
| for_issuer | bool | 如果为 true,则返回颁发者名称;否则返回主题名称。 |
ReturnValue
格式化的颁发者或主题名称。
另见
- Class String
- Enum X509NameType
- Class X509Certificate2
- Namespace System::Security::Cryptography::X509Certificates
- Library Aspose.Font for C++