Send feedback
Class SignatureInfo (2.22.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.22.6 keyboard_arrow_down
public class SignatureInfo
Signature Info holds payload components of the string that requires signing.
See Also: Components
Static Fields
COMPONENT_SEPARATOR
public static final char COMPONENT_SEPARATOR
Field Value
Type
Description
char
GOOG4_RSA_SHA256
public static final String GOOG4_RSA_SHA256
Field Value
Type
Description
String
SCOPE
public static final String SCOPE
Field Value
Type
Description
String
Methods
constructUnsignedPayload()
public String constructUnsignedPayload ()
Returns
Type
Description
String
payload to sign
constructV2QueryString()
public String 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
Type
Description
String
A URI query string. Returns an empty string if the user supplied no query parameters.
constructV4QueryString()
public String 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: Canonical Requests
Returns
Type
Description
String
getAccountEmail()
public String getAccountEmail ()
Returns
Type
Description
String
public Map<String , String> getCanonicalizedExtensionHeaders ()
getCanonicalizedResource()
public URI getCanonicalizedResource ()
Returns
Type
Description
URI
getContentMd5()
public String getContentMd5 ()
Returns
Type
Description
String
getContentType()
public String getContentType ()
Returns
Type
Description
String
getExpiration()
public long getExpiration ()
Returns
Type
Description
long
getHttpVerb()
public HttpMethod getHttpVerb ()
getQueryParams()
public Map<String , String> getQueryParams ()
getSignatureVersion()
public Storage . SignUrlOption . SignatureVersion getSignatureVersion ()
Returns
Type
Description
com.google.cloud.storage.Storage.SignUrlOption.SignatureVersion
getTimestamp()
public long getTimestamp ()
Returns
Type
Description
long
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]