Package com.google.cloud.storage
Class SignatureInfo
java.lang.Object
com.google.cloud.storage.SignatureInfo
Signature Info holds payload components of the string that requires signing.
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionConstructs payload to be signed.Returns a query string constructed from this object's stored query parameters, sorted in code point order.Returns a query string constructed from this object's stored query parameters, sorted in code point order so that the query string can be used in a V4 canonical request string.long
com.google.cloud.storage.Storage.SignUrlOption.SignatureVersion
long
-
Field Details
-
COMPONENT_SEPARATOR
public static final char COMPONENT_SEPARATOR- See Also:
-
GOOG4_RSA_SHA256
- See Also:
-
SCOPE
- See Also:
-
-
Method Details
-
constructUnsignedPayload
Constructs payload to be signed.- Returns:
- payload to sign
- See Also:
-
constructV2QueryString
Returns a query string constructed from this object's stored query parameters, sorted in code point order. Note that these query parameters are not used when constructing the URL's signature. The returned value does not include the leading ? character, as this is not part of a query string.- Returns:
- A URI query string. Returns an empty string if the user supplied no query parameters.
-
constructV4QueryString
Returns a query string constructed from this object's stored query parameters, sorted in code point order so that the query string can be used in a V4 canonical request string. The returned value does not include the leading ? character, as this is not part of a query string.- See Also:
-
getHttpVerb
-
getContentMd5
-
getContentType
-
getExpiration
public long getExpiration() -
getCanonicalizedExtensionHeaders
-
getQueryParams
-
getCanonicalizedResource
-
getSignatureVersion
public com.google.cloud.storage.Storage.SignUrlOption.SignatureVersion getSignatureVersion() -
getTimestamp
public long getTimestamp() -
getAccountEmail
-