All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.authing.sdk.java.util.signature.ISignatureComposer Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package cn.authing.sdk.java.util.signature;

import java.util.Map;

public interface ISignatureComposer {
    /**
     * 生成签名
     * @param method
     * @param uri
     * @param headers
     * @param queries
     * @return
     */
    String composeStringToSign(String method, String uri, Map headers, Map queries);

    /**
     * 获取 Authorization 的值
     * @param accessKeyId
     * @param accessKeySecret
     * @param stringToSign
     * @return
     */
    String getAuthorization(String accessKeyId, String accessKeySecret, String stringToSign);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy