public abstract class RSACipherAbstract extends Object implements Cipher
| 构造器和说明 |
|---|
RSACipherAbstract() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
decryptObjectSection(String data,
PrivateKey privateKey) |
byte[] |
encryptObjectSection(byte[] data,
PublicKey publicKey) |
PrivateKey |
restorePrivateKey(String privateKeyStr) |
PublicKey |
restorePublicKey(String publicKeyStr) |
public byte[] encryptObjectSection(byte[] data,
PublicKey publicKey)
throws Exception
Exceptionpublic byte[] decryptObjectSection(String data, PrivateKey privateKey) throws Exception
Exceptionpublic PrivateKey restorePrivateKey(String privateKeyStr) throws Exception
ExceptionCopyright © 2025. All rights reserved.