public interface YopPlatformCredentialsProvider
| 限定符和类型 | 方法和说明 |
|---|---|
YopPlatformCredentials |
getCredentials(String appKey,
String serialNo)
根据应用&证书序列号获取平台凭证
|
default YopPlatformCredentials |
getCredentials(String appKey,
String serialNo,
String serverRoot)
根据应用&证书序列号获取平台凭证
|
YopPlatformCredentials |
getLatestCredentials(String appKey,
String credentialType)
获取应用下某类型的最新可用平台凭证
|
default YopPlatformCredentials |
getLatestCredentials(String appKey,
String credentialType,
String serverRoot)
获取应用下某类型的最新可用平台凭证
|
YopPlatformCredentials |
storeCredentials(String appKey,
String credentialType,
X509Certificate certificate)
将应用下平台证书转换并存入加密机
|
YopPlatformCredentials getCredentials(String appKey, String serialNo)
appKey - 应用serialNo - 证书序列号default YopPlatformCredentials getCredentials(String appKey, String serialNo, String serverRoot)
appKey - 应用serialNo - 证书序列号serverRoot - 平台证书请求端点YopPlatformCredentials getLatestCredentials(String appKey, String credentialType)
appKey - 应用标识credentialType - 凭证类型default YopPlatformCredentials getLatestCredentials(String appKey, String credentialType, String serverRoot)
appKey - 应用标识credentialType - 凭证类型serverRoot - 请求端点YopPlatformCredentials storeCredentials(String appKey, String credentialType, X509Certificate certificate)
appKey - 应用标识credentialType - 凭证类型certificate - 平台证书Copyright © 2023. All rights reserved.