public final class ServiceSASSignatureValues
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
blobName
A
String specifying the name of the container the SAS user may access. |
java.lang.String |
cacheControl
A
String specifying the control header for the SAS. |
java.lang.String |
containerName
A
String specifying the name of the container the SAS user may access. |
java.lang.String |
contentDisposition
A
String specifying the content-disposition header for the SAS. |
java.lang.String |
contentEncoding
A
String specifying the content-encoding header for the SAS. |
java.lang.String |
contentLanguage
A
String specifying the content-language header for the SAS. |
java.lang.String |
contentType
A
String specifying the content-type header for the SAS. |
java.util.Date |
expiryTime
A
java.util.Date specifying a time after which the SAS will no longer work. |
java.lang.String |
identifier
A
String specifying which access policy on the container this SAS references if any. |
IPRange |
ipRange
An
IPRange object specifying which IP addresses may validly use this SAS. |
java.lang.String |
permissions
A
String specifying which operations the SAS user may perform. |
SASProtocol |
protocol
A
SASProtocol value representing the allowed Internet protocols. |
java.util.Date |
startTime
A
java.util.Date specifying when the SAS will take effect. |
java.lang.String |
version
The version of the service this SAS will target.
|
Constructor and Description |
---|
ServiceSASSignatureValues()
Creates an object with empty values for all fields.
|
Modifier and Type | Method and Description |
---|---|
SASQueryParameters |
GenerateSASQueryParameters(SharedKeyCredentials sharedKeyCredentials)
Uses an account's shared key credential to sign these signature values to produce the proper SAS query
parameters.
|
public java.lang.String version
public SASProtocol protocol
SASProtocol
value representing the allowed Internet protocols.public java.util.Date startTime
java.util.Date
specifying when the SAS will take effect.public java.util.Date expiryTime
java.util.Date
specifying a time after which the SAS will no longer work.public java.lang.String permissions
String
specifying which operations the SAS user may perform. Please refer to either
ContainerSASPermission
or BlobSASPermission
depending on the resource being accessed for help
constructing the permissions string.public IPRange ipRange
IPRange
object specifying which IP addresses may validly use this SAS.public java.lang.String containerName
String
specifying the name of the container the SAS user may access.public java.lang.String blobName
String
specifying the name of the container the SAS user may access.public java.lang.String identifier
String
specifying which access policy on the container this SAS references if any.public java.lang.String cacheControl
String
specifying the control header for the SAS.public java.lang.String contentDisposition
String
specifying the content-disposition header for the SAS.public java.lang.String contentEncoding
String
specifying the content-encoding header for the SAS.public java.lang.String contentLanguage
String
specifying the content-language header for the SAS.public java.lang.String contentType
String
specifying the content-type header for the SAS.public ServiceSASSignatureValues()
public SASQueryParameters GenerateSASQueryParameters(SharedKeyCredentials sharedKeyCredentials)
sharedKeyCredentials
- A SharedKeyCredentials
object used to sign the SAS values.SASQueryParameters
object containing the signed query parameters.