public static class LeonaClient.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
LeonaClient |
build() |
LeonaClient.Builder |
setEncryptionAccept(String encryptionAccept) |
LeonaClient.Builder |
setEncryptionLevel(String encryptionLevel) |
LeonaClient.Builder |
setLhPubKey(String lhPubKeyFilePath)
加载公钥
|
LeonaClient.Builder |
setPartnerPriKey(String partnerPriKeyFilePath)
加载私钥
|
LeonaClient.Builder |
setSecretKey(String secretKey) |
public LeonaClient.Builder setPartnerPriKey(String partnerPriKeyFilePath) throws IOException
partnerPriKeyFilePath - 私钥文件路径IOException - 读取文件产生的IO异常public LeonaClient.Builder setLhPubKey(String lhPubKeyFilePath) throws IOException
lhPubKeyFilePath - 公钥文件路径IOException - 读取文件产生的IO异常public LeonaClient.Builder setEncryptionLevel(String encryptionLevel)
public LeonaClient.Builder setEncryptionAccept(String encryptionAccept)
public LeonaClient.Builder setSecretKey(String secretKey)
public LeonaClient build()
Copyright © 2020. All rights reserved.