public class DefaultResponseEncryptor extends AbstractResponseEncryptor
| 构造器和说明 |
|---|
DefaultResponseEncryptor(HttpCryptoSm2Certificate sm2Key) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.HttpInputMessage |
encrypt(org.springframework.http.HttpInputMessage inputMessage) |
InputStream |
encrypt(InputStream inputStream) |
String |
encryptToText(InputStream inputStream) |
Charset |
getCharset() |
void |
setCharset(Charset charset) |
getTextEncryptorpublic DefaultResponseEncryptor(HttpCryptoSm2Certificate sm2Key)
public InputStream encrypt(InputStream inputStream) throws IOException
IOExceptionpublic String encryptToText(InputStream inputStream) throws IOException
IOExceptionpublic org.springframework.http.HttpInputMessage encrypt(org.springframework.http.HttpInputMessage inputMessage)
throws IOException
IOExceptionpublic void setCharset(Charset charset)
public Charset getCharset()
Copyright © 2023. All rights reserved.