IotHubX509HardwareAuthenticationProvider Class
- java.
lang. Object - IotHubAuthenticationProvider
- com.
microsoft. azure. sdk. iot. device. auth. IotHubX509HardwareAuthenticationProvider
- com.
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
IotHubAuthenticationProvider.deviceId
IotHubAuthenticationProvider.gatewayHostname
IotHubAuthenticationProvider.getDeviceId()
IotHubAuthenticationProvider.getGatewayHostname()
IotHubAuthenticationProvider.getHostname()
IotHubAuthenticationProvider.getModuleId()
IotHubAuthenticationProvider.hostname
IotHubAuthenticationProvider.IotHubAuthenticationProvider(String hostname, String gatewayHostname, String deviceId, String moduleId)
IotHubAuthenticationProvider.IotHubAuthenticationProvider(String hostname, String gatewayHostname, String deviceId, String moduleId, SSLContext sslContext)
IotHubAuthenticationProvider.moduleId
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java