HttpHsmSignatureProvider Class
- java.
lang. Object - SignatureProvider
- com.
microsoft. azure. sdk. iot. device. hsm. HttpHsmSignatureProvider
- com.
public class HttpHsmSignatureProvider implements SignatureProvider
Provides a means to sign data for authentication purposes
Constructor Summary
Constructor | Description |
---|---|
HttpHsmSignatureProvider(String providerUri, String apiVersion, UnixDomainSocketChannel unixDomainSocketChannel) |
Constructor for an HttpHsmSignatureProvider but using the non-default api version |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
sign(String keyName, String data, String generationId)
Sign the provided data using the provided key name |
Constructor Details
HttpHsmSignatureProvider
public HttpHsmSignatureProvider(String providerUri, String apiVersion, UnixDomainSocketChannel unixDomainSocketChannel)
Constructor for an HttpHsmSignatureProvider but using the non-default api version
Parameters:
Throws:
Method Details
sign
public String sign(String keyName, String data, String generationId)
Sign the provided data using the provided key name
Overrides:
HttpHsmSignatureProvider.sign(String keyName, String data, String generationId)Parameters:
Returns:
Applies to
Azure SDK for Java