public class RSAUtils extends Object
| Constructor and Description |
|---|
RSAUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeOpenSSLPublicKey(String instr) |
static byte[] |
encryptByPublicKey(byte[] data,
PublicKey pk) |
static PublicKey |
getPublicKey(String keyCode) |
public static PublicKey getPublicKey(String keyCode) throws IOException
IOExceptionpublic static byte[] decodeOpenSSLPublicKey(String instr)
public static byte[] encryptByPublicKey(byte[] data,
PublicKey pk)
throws IOException
IOExceptionCopyright © 2020 DolphinDB. All rights reserved.