# ListeningHostSslOptions constructor

Kind: Constructor  
Namespace: `Sisk.Core.Http`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Http.ListeningHostSslOptions.-ctor.html

## ListeningHostSslOptions(X509Certificate) {#Sisk_Core_Http_ListeningHostSslOptions__ctor_System_Security_Cryptography_X509Certificates_X509Certificate_}

Initializes a new instance of the [ListeningHostSslOptions](https://docs.sisk-framework.org/api/Sisk.Core.Http.ListeningHostSslOptions.md) class.

```csharp
public ListeningHostSslOptions(X509Certificate certificate)
```

### Parameters

`certificate` [X509Certificate](https://learn.microsoft.com/dotnet/api/system.security.cryptography.x509certificates.x509certificate)

The [X509Certificate](https://learn.microsoft.com/dotnet/api/system.security.cryptography.x509certificates.x509certificate) used to encrypt data between the client and the server.
