azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.sdk.iot...

59 строки
4.0 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.sdk.iot.device.auth.Signature"
fullName: "com.microsoft.azure.sdk.iot.device.auth.Signature"
name: "Signature"
nameWithType: "Signature"
summary: "A signature that is used in the SAS token to authenticate the client."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public final class **Signature**"
constructors:
- uid: "com.microsoft.azure.sdk.iot.device.auth.Signature.Signature(java.lang.String,long,java.lang.String)"
fullName: "com.microsoft.azure.sdk.iot.device.auth.Signature.Signature(String resourceUri, long expiryTime, String deviceKey)"
name: "Signature(String resourceUri, long expiryTime, String deviceKey)"
nameWithType: "Signature.Signature(String resourceUri, long expiryTime, String deviceKey)"
summary: "Constructs a `Signature` instance from the given resource URI, expiry time and device key."
parameters:
- description: "the resource URI."
name: "resourceUri"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the time, as a UNIX timestamp, after which the token\n will become invalid."
name: "expiryTime"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- description: "the device key."
name: "deviceKey"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Signature(String resourceUri, long expiryTime, String deviceKey)"
desc: "Constructs a `Signature` instance from the given resource URI, expiry time and device key."
methods:
- uid: "com.microsoft.azure.sdk.iot.device.auth.Signature.toString()"
fullName: "com.microsoft.azure.sdk.iot.device.auth.Signature.toString()"
name: "toString()"
nameWithType: "Signature.toString()"
summary: "Returns the string representation of the signature."
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Returns the string representation of the signature."
returns:
description: "the string representation of the signature."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A signature that is used in the SAS token to authenticate the client."
metadata: {}
package: "com.microsoft.azure.sdk.iot.device.auth"
artifact: com.microsoft.azure.sdk.iot:iot-device-client:1.30.1