Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
940fc27c
Commit
940fc27c
authored
Mar 01, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加国密4加解密接口
parent
a2ed5c70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
base-manager/src/main/java/com/mortals/xhx/busiz/message/impl/MessageServiceImpl.java
...om/mortals/xhx/busiz/message/impl/MessageServiceImpl.java
+1
-4
No files found.
base-manager/src/main/java/com/mortals/xhx/busiz/message/impl/MessageServiceImpl.java
View file @
940fc27c
...
...
@@ -12,13 +12,11 @@ import com.mortals.xhx.common.utils.RSAUtils;
import
com.mortals.xhx.common.utils.ServicePlatformInvoker
;
import
lombok.extern.slf4j.Slf4j
;
import
org.bouncycastle.jce.provider.BouncyCastleProvider
;
import
org.springframework.http.*
;
import
org.springframework.lang.NonNull
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.Assert
;
import
org.springframework.util.LinkedMultiValueMap
;
import
org.springframework.util.MultiValueMap
;
import
org.springframework.web.client.RestTemplate
;
import
javax.crypto.Cipher
;
import
javax.crypto.spec.SecretKeySpec
;
...
...
@@ -37,11 +35,10 @@ import java.util.List;
* @author zxfei
* @date 2022-03-09
*/
@Service
(
"messageService"
)
@Service
(
"message
Crypt
Service"
)
@Slf4j
public
class
MessageServiceImpl
implements
MessageService
{
private
RestTemplate
restTemplate
=
new
RestTemplate
();
@Override
public
MessageReq
decryptMessage
(
MessageReq
req
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment