org.javaswift.joss.client.core
Class TempURL

java.lang.Object
  extended by org.javaswift.joss.client.core.TempURL

public class TempURL
extends Object


Field Summary
static org.slf4j.Logger LOG
           
 
Constructor Summary
TempURL(String method, String prefix, AbstractStoredObject object)
           
 
Method Summary
protected  String getSignature()
           
protected  String getSignaturePlainText()
           
 String getTempUrl()
           
 TempURL setFixedExpiry(long seconds)
           
 TempURL setServerTimeExpiry(long seconds)
           
 boolean verify(String signature, long expiry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.slf4j.Logger LOG
Constructor Detail

TempURL

public TempURL(String method,
               String prefix,
               AbstractStoredObject object)
Method Detail

setServerTimeExpiry

public TempURL setServerTimeExpiry(long seconds)

setFixedExpiry

public TempURL setFixedExpiry(long seconds)

getSignaturePlainText

protected String getSignaturePlainText()

getSignature

protected String getSignature()

getTempUrl

public String getTempUrl()

verify

public boolean verify(String signature,
                      long expiry)


Copyright © 2012-2014 42 BV. All Rights Reserved.