public class RequestAnalyzer extends Object
| 构造器和说明 |
|---|
RequestAnalyzer() |
| 限定符和类型 | 方法和说明 |
|---|---|
static YopCredentials<?> |
getCredentials(String provider,
String env,
YopRequestConfig requestConfig,
AuthorizationReq authorizationReq) |
static YopCredentials<?> |
getCredentials(YopRequestConfig requestConfig,
AuthorizationReq authorizationReq)
获取YOP凭证
|
static YopEncryptor |
getEncryptor(YopRequestConfig requestConfig)
获取默认加密器
|
static boolean |
isEncryptSupported(YopCredentials<?> credential,
YopRequestConfig requestConfig)
判断是否支持加解密
|
public static YopCredentials<?> getCredentials(YopRequestConfig requestConfig, AuthorizationReq authorizationReq)
requestConfig - 请求配置authorizationReq - 安全需求public static YopCredentials<?> getCredentials(String provider, String env, YopRequestConfig requestConfig, AuthorizationReq authorizationReq)
public static boolean isEncryptSupported(YopCredentials<?> credential, YopRequestConfig requestConfig)
credential - YOP凭证requestConfig - 请求配置public static YopEncryptor getEncryptor(YopRequestConfig requestConfig)
requestConfig - 请求配置Copyright © 2024. All rights reserved.