public final class RSAKeys extends Object implements Keys
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
KEY_SIZE_1024 |
static int |
KEY_SIZE_2048 |
| 限定符和类型 | 方法和说明 |
|---|---|
static RSAKeys |
create() |
static RSAKeys |
create(int keySize) |
static RSAKeys |
fromString(String publicKey,
String privateKey) |
String |
getBase64PrivateKey() |
String |
getBase64PublicKey() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrivateKey, getPublicKeypublic static final int KEY_SIZE_1024
public static final int KEY_SIZE_2048
public static RSAKeys create()
public static RSAKeys create(int keySize)
public String getBase64PublicKey()
getBase64PublicKey 在接口中 Keyspublic String getBase64PrivateKey()
getBase64PrivateKey 在接口中 KeysCopyright © 2022. All rights reserved.