/// <summary> /// 设置签名的有效期: [signStartTimeSecond, signStartTimeSecond + durationSecond] /// </summary> /// <param name="signStartTimeSecond"></param> /// <param name="durationSecond"></param> public virtual void SetSign(long signStartTimeSecond, long durationSecond) { if (cosXmlSignSourceProvider == null) { cosXmlSignSourceProvider = new CosXmlSignSourceProvider(); } cosXmlSignSourceProvider.SetSignTime(signStartTimeSecond, durationSecond); }
/// <summary> /// 设置签名的有效期: [signStartTimeSecond, signStartTimeSecond + durationSecond] /// </summary> /// <param name="signStartTimeSecond"></param> /// <param name="durationSecond"></param> public virtual void SetSign(long signStartTimeSecond, long durationSecond) { cosXmlSignSourceProvider.SetSignTime(signStartTimeSecond, durationSecond); }