| 程序包 | 说明 |
|---|---|
| xyz.shodown.crypto.enums | |
| xyz.shodown.crypto.factory | |
| xyz.shodown.crypto.helper |
| 限定符和类型 | 方法和说明 |
|---|---|
static Algorithm |
Algorithm.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Algorithm[] |
Algorithm.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AlgorithmHandler |
AlgorithmFactory.create(Algorithm algorithm)
获取算法实例
|
static AlgorithmHandlerAdapter |
AlgorithmFactory.createAdapter(Algorithm algorithm)
获取算法处理实例
|
| 构造器和说明 |
|---|
CryptoHelper(Algorithm algorithm)
实例化
|
CryptoHelper(Algorithm algorithm,
Class<? extends KeyChain> keyChain,
EncodingEnum encodingEnum,
CharSet charSet,
String topic,
String signForVerify)
实例化
|
CryptoHelper(Algorithm algorithm,
Class<? extends KeyChain> keyChain,
String topic)
实例化
|
CryptoHelper(Algorithm algorithm,
Class<? extends KeyChain> keyChain,
String topic,
String signForVerify)
实例化
|
CryptoHelper(Algorithm algorithm,
String secretKey)
实例化
|
CryptoHelper(Algorithm algorithm,
String privateKey,
String publicKey)
实例化
|
CryptoHelper(Algorithm algorithm,
String privateKey,
String publicKey,
String signForVerify)
实例化
|
Copyright © 2022. All rights reserved.