public class YopPlatformCredentialsHolder extends Object implements YopPlatformCredentials
| 构造器和说明 |
|---|
YopPlatformCredentialsHolder() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAppKey()
应用标识
|
CredentialsItem |
getCredential()
获取认证凭证
|
String |
getSerialNo()
证书序列号(长度为10的16进制字符串)
比如,目前易宝证书序列号如下表示
16进制表示为:4397139598
10进制表示:290297451928
|
YopPlatformCredentialsHolder |
withAppKey(String appKey) |
YopPlatformCredentialsHolder |
withCredentials(CredentialsItem credential) |
YopPlatformCredentialsHolder |
withSerialNo(String serialNo) |
public String getSerialNo()
CertificateCredentialsgetSerialNo 在接口中 CertificateCredentialspublic String getAppKey()
YopCredentialsgetAppKey 在接口中 YopCredentials<CredentialsItem>public CredentialsItem getCredential()
YopCredentialsgetCredential 在接口中 YopCredentials<CredentialsItem>public YopPlatformCredentialsHolder withSerialNo(String serialNo)
public YopPlatformCredentialsHolder withAppKey(String appKey)
public YopPlatformCredentialsHolder withCredentials(CredentialsItem credential)
Copyright © 2024. All rights reserved.