org.datanucleus.store.json
Class CloudStorageUtils

java.lang.Object
  extended by org.datanucleus.store.json.CloudStorageUtils

public class CloudStorageUtils
extends java.lang.Object


Constructor Summary
CloudStorageUtils()
           
 
Method Summary
static java.lang.String getHTTPDate()
          get the date according to the HTTP standard
static java.lang.String hmac(java.lang.String key, java.lang.String data)
          Compile the HMAC of the data using the secret key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudStorageUtils

public CloudStorageUtils()
Method Detail

hmac

public static java.lang.String hmac(java.lang.String key,
                                    java.lang.String data)
Compile the HMAC of the data using the secret key

Parameters:
key - the secret key
data -
Returns:

getHTTPDate

public static java.lang.String getHTTPDate()
get the date according to the HTTP standard

Returns:
the current date


Copyright © 2012. All Rights Reserved.