类 LimitedTimeSecurityKey
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.security.BasicSecurityKey
cn.warpin.thirdPart.huawei.obs.obs.services.internal.security.LimitedTimeSecurityKey
- 所有已实现的接口:
ISecurityKey
-
字段概要
字段从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.security.BasicSecurityKey
accessKey, secretKey, securityToken -
构造器概要
构造器构造器说明LimitedTimeSecurityKey(String accessKey, String secretKey, String securityToken) LimitedTimeSecurityKey(String accessKey, String secretKey, String securityToken, Date expiryDate) -
方法概要
从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.security.BasicSecurityKey
getAccessKey, getSecretKey, getSecurityToken
-
字段详细资料
-
expiryDate
-
EXPIRY_SECONDS
private static final long EXPIRY_SECONDS- 另请参阅:
-
WILL_SOON_EXPIRE_SECONDS
private static final long WILL_SOON_EXPIRE_SECONDS- 另请参阅:
-
-
构造器详细资料
-
LimitedTimeSecurityKey
-
LimitedTimeSecurityKey
-
-
方法详细资料
-
aboutToExpire
public boolean aboutToExpire()about 2~5 minutes- 返回:
-
willSoonExpire
public boolean willSoonExpire()less than 2 minutes- 返回:
-
getUtcTime
-
getExpiryDate
-