---
title: "System::Security::Cryptography::X509Certificates::X500DistinguishedName::Decode method"
url: "https://reference.aspose.com/pub/cpp/system.security.cryptography.x509certificates/x500distinguishedname/decode/"
product: "Aspose.PUB for C++"
description: "System::Security::Cryptography::X509Certificates::X500DistinguishedName::Decode method. Decodes name using parameters specified by flags in C++."
---

## X500DistinguishedName::Decode method


Decodes name using parameters specified by flags.

```cpp
String System::Security::Cryptography::X509Certificates::X500DistinguishedName::Decode(X500DistinguishedNameFlags flags) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| flags | X500DistinguishedNameFlags | Bitwise junction of flags to use. |

### ReturnValue

Decoded name.

## See Also

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