Annotation Interface Encrypted
加密传输
- 从以下版本开始:
- 1.0.5
-
可选元素概要
可选元素修饰符和类型可选元素说明加密的 AES Key 的 JSON 键 (POST 请求的时候需要从请求的 JSON 里面获取 AES Key) (type 为 AES 模式时使用)加密的内容的 JSON 键 (POST 请求的时候需要从请求的 JSON 里面获取内容)boolean
解密输入数据boolean
是否要加密输出数据需要解密的输入数据的 key加密输出数据的公钥的 key,这个需要前端传 public key 过来加密类型
-
元素详细资料
-
decryptInput
boolean decryptInput解密输入数据- 默认值:
- true
-
key
String key需要解密的输入数据的 key- 默认值:
- "data"
-
encryptOutput
boolean encryptOutput是否要加密输出数据- 默认值:
- true
-
outputEncryptPublicKey
String outputEncryptPublicKey加密输出数据的公钥的 key,这个需要前端传 public key 过来- 默认值:
- "rsaPublicKey"
-
type
EncryptedType type加密类型- 返回:
- 接口加密类型
- 另请参阅:
- 默认值:
- RSA
-
content
String content加密的内容的 JSON 键 (POST 请求的时候需要从请求的 JSON 里面获取内容)- 返回:
- 加密的内容的 JSON 键
- 默认值:
- "content"
-
aesKey
String aesKey加密的 AES Key 的 JSON 键 (POST 请求的时候需要从请求的 JSON 里面获取 AES Key) (type 为 AES 模式时使用)- 返回:
- 加密的 AES Key 的 JSON 键
- 默认值:
- "aesKey"
-