com.aliyuncs.auth
类 ShaHmac256

java.lang.Object
  继承者 com.aliyuncs.auth.ShaHmac256
所有已实现的接口:
ISigner

public class ShaHmac256
extends Object
implements ISigner


构造方法摘要
ShaHmac256()
           
 
方法摘要
 String getSignerName()
           
 String getSignerVersion()
           
 String signString(String source, String accessSecret)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ShaHmac256

public ShaHmac256()
方法详细信息

signString

public String signString(String source,
                         String accessSecret)
                  throws InvalidKeyException,
                         IllegalStateException
指定者:
接口 ISigner 中的 signString
抛出:
InvalidKeyException
IllegalStateException

getSignerName

public String getSignerName()
指定者:
接口 ISigner 中的 getSignerName

getSignerVersion

public String getSignerVersion()
指定者:
接口 ISigner 中的 getSignerVersion


Copyright © 2017. All Rights Reserved.