System::Security::Cryptography::X509Certificates::X509Certificate2::GetNameInfo method
X509Certificate2::GetNameInfo method
Gets subject or issuer name from certificate.
String System::Security::Cryptography::X509Certificates::X509Certificate2::GetNameInfo(X509NameType name_type, bool for_issuer) const
Parameter | Type | Description |
---|---|---|
name_type | X509NameType | Name formatting options. |
for_issuer | bool | If true, returns issuer name, else returns subject name. |
ReturnValue
Formatted issuer or subject name.
See Also
- Class String
- Enum X509NameType
- Class X509Certificate2
- Namespace System::Security::Cryptography::X509Certificates
- Library Aspose.PDF for C++