X509.Duplicate
--------------

Creates a copy of the certificate.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Certificates](component_Certificates.md) | [7.0](newinversion70.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "X509.Duplicate"; X509Ref ) 

**MBS**( **"X509.Duplicate";** /\* Creates a copy of the certificate. \*/  
**$X509Ref**) /\* The reference to the X509 certificate.e.g. $cert \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| X509Ref | The reference to the X509 certificate. | $cert |

### Result

Returns reference number or error.

### Description

Creates a copy of the certificate.  
Please call later X509.Release to free the memory.  
### See also

- [X509.Release](X509Release.md)

This function checks for a license.

Created 23th December 2016 , last changed 23th December 2016

  
[X509.Description](X509Description.md) - [X509.IssuerName](X509IssuerName.md)

[HTML Version](X509Duplicate.shtml)