接口 com.aliyuncs.auth.ISigner
的使用

使用 ISigner 的软件包
com.aliyuncs   
com.aliyuncs.auth   
com.aliyuncs.profile   
 

com.aliyuncsISigner 的使用
 

参数类型为 ISignercom.aliyuncs 中的方法
<T extends AcsResponse>
HttpResponse
IAcsClient.doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryNumber, String regionId, Credential credential, ISigner signer, FormatType format, List<Endpoint> endpoints)
           
<T extends AcsResponse>
HttpResponse
DefaultAcsClient.doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryNumber, String regionId, Credential credential, ISigner signer, FormatType format, List<Endpoint> endpoints)
           
 HttpRequest RpcAcsRequest.signRequest(ISigner signer, Credential credential, FormatType format, ProductDomain domain)
           
 HttpRequest RoaAcsRequest.signRequest(ISigner signer, Credential credential, FormatType format, ProductDomain domain)
           
 HttpRequest OssAcsRequest.signRequest(ISigner signer, Credential credential, FormatType format, ProductDomain domain)
           
abstract  HttpRequest AcsRequest.signRequest(ISigner signer, Credential credential, FormatType format, ProductDomain domain)
           
 

com.aliyuncs.authISigner 的使用
 

实现 ISignercom.aliyuncs.auth 中的类
 class ShaHmac1
           
 class ShaHmac256
           
 

返回 ISignercom.aliyuncs.auth 中的方法
 ISigner ShaHmac1Singleton.getInstance()
           
 

参数类型为 ISignercom.aliyuncs.auth 中的方法
 String RpcSignatureComposer.composeStringToSign(MethodType method, String uriPattern, ISigner signer, Map<String,String> queries, Map<String,String> headers, Map<String,String> paths)
           
 String RoaSignatureComposer.composeStringToSign(MethodType method, String uriPattern, ISigner signer, Map<String,String> queries, Map<String,String> headers, Map<String,String> paths)
           
 String OssSignatureComposer.composeStringToSign(MethodType method, String uriPattern, ISigner signer, Map<String,String> queries, Map<String,String> headers, Map<String,String> paths)
           
 String ISignatureComposer.composeStringToSign(MethodType method, String uriPattern, ISigner signer, Map<String,String> queries, Map<String,String> headers, Map<String,String> paths)
           
 Map<String,String> RpcSignatureComposer.refreshSignParameters(Map<String,String> parameters, ISigner signer, String accessKeyId, FormatType format)
           
 Map<String,String> RoaSignatureComposer.refreshSignParameters(Map<String,String> parameters, ISigner signer, String accessKeyId, FormatType format)
           
 Map<String,String> OssSignatureComposer.refreshSignParameters(Map<String,String> parameters, ISigner signer, String accessKeyId, FormatType format)
           
 Map<String,String> ISignatureComposer.refreshSignParameters(Map<String,String> parameters, ISigner signer, String accessKeyId, FormatType format)
           
 

com.aliyuncs.profileISigner 的使用
 

返回 ISignercom.aliyuncs.profile 中的方法
 ISigner IClientProfile.getSigner()
           
 ISigner DefaultProfile.getSigner()
           
 



Copyright © 2017. All Rights Reserved.