---
title: "System::Security::Cryptography::X509Certificates::X509Certificate::GetName method"
url: "https://reference.aspose.com/pub/cpp/system.security.cryptography.x509certificates/x509certificate/getname/"
product: "Aspose.PUB for C++"
description: "System::Security::Cryptography::X509Certificates::X509Certificate::GetName method. Gets name of the principal to witch the current sertificate was issued in C++."
---

## X509Certificate::GetName method


Gets name of the principal to witch the current sertificate was issued.

```cpp
virtual String System::Security::Cryptography::X509Certificates::X509Certificate::GetName() const
```


### ReturnValue

The name of the principal.

## See Also

* Class [String](../../../system/string/)
* Class [X509Certificate](../)
* Namespace [System::Security::Cryptography::X509Certificates](../../)
* Library [Aspose.PUB for C++](../../../)
