示例#1
0
 /// <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);
 }
示例#2
0
 /// <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);
 }