IotHubX509HardwareAuthenticationProvider Class

public class IotHubX509HardwareAuthenticationProvider extends IotHubAuthenticationProvider

Constructor Summary

Constructor Description
IotHubX509HardwareAuthenticationProvider(String hostname, String gatewayHostname, String deviceId, String moduleId, SecurityProvider securityProvider)

Method Summary

Modifier and Type Method and Description
SSLContext getSSLContext()

Getter for IotHubSSLContext

Inherited Members

Constructor Details

IotHubX509HardwareAuthenticationProvider

public IotHubX509HardwareAuthenticationProvider(String hostname, String gatewayHostname, String deviceId, String moduleId, SecurityProvider securityProvider)

Parameters:

hostname
gatewayHostname
deviceId
moduleId
securityProvider

Method Details

getSSLContext

public SSLContext getSSLContext()

Getter for IotHubSSLContext

Returns:

The value of IotHubSSLContext

Throws:

IOException - if an error occurs when generating the SSLContext

Applies to