| Package | Description |
|---|---|
| cn.orionsec.kit.lang.define.wrapper | |
| cn.orionsec.kit.lang.utils.collect | |
| cn.orionsec.kit.lang.utils.crypto |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Pair<K,V> |
Pair.of(K key,
V value) |
static <K,V> Pair<K,V> |
Pair.of(Map.Entry<K,V> entry) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Pair<K,V> |
Maps.random(Map<K,V> map)
从map随机获取一个元素
|
| Modifier and Type | Method and Description |
|---|---|
static Pair<RSAPublicKey,RSAPrivateKey> |
RSA.generatorKeys()
随机生成 公私钥对
|
static Pair<RSAPublicKey,RSAPrivateKey> |
RSA.generatorKeys(int length)
随机生成 公私钥对
|
static Pair<PublicKey,PrivateKey> |
Keys.getPfxKeys(File file,
String password) |
static Pair<PublicKey,PrivateKey> |
Keys.getPfxKeys(InputStream in,
String password) |
static Pair<PublicKey,PrivateKey> |
Keys.getPfxKeys(InputStream in,
String password,
boolean close)
读取PFX私钥文件
|
static Pair<PublicKey,PrivateKey> |
Keys.getPfxKeys(String file,
String password) |
Copyright © 2024. All rights reserved.