public class RSATokenUtil extends Object
| Constructor and Description |
|---|
RSATokenUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeBase64(String input) |
static String |
encodeBase64(byte[] input) |
static String |
encrypt(byte[] source,
PublicKey publicKey) |
static PublicKey |
getPublicKey() |
static String |
getRSAToken()
根据egov.home里的参数生成海洋局获取的token
|
Copyright © 2015–2022 cn.gtmap. All rights reserved.