商户应用管理

This commit is contained in:
lu7213 committed 2026-10-08 09:45:11 -04:00
1 parent 71035c7fa0
commit 02664623f7
8 files changed
+300 -28

No files matched your search

@@ -0,0 +1,9 @@
package com.ruoyi.system.domain.dto;
/** 商户 RSA 公钥设置请求。 */
public class AppPublicKeyRequest {
private String publicKey;
public String getPublicKey() { return publicKey; }
public void setPublicKey(String publicKey) { this.publicKey = publicKey; }
}
@@ -0,0 +1,24 @@
package com.ruoyi.system.domain.vo;
/**
* RSA 密钥对生成结果。
* privateKey 只在生成接口本次响应中出现,服务端绝不持久化。
*/
public class AppKeyPairResult {
private final String algorithm;
private final Integer keySize;
private final String publicKey;
private final String privateKey;
public AppKeyPairResult(String algorithm, Integer keySize, String publicKey, String privateKey) {
this.algorithm = algorithm;
this.keySize = keySize;
this.publicKey = publicKey;
this.privateKey = privateKey;
}
public String getAlgorithm() { return algorithm; }
public Integer getKeySize() { return keySize; }
public String getPublicKey() { return publicKey; }
public String getPrivateKey() { return privateKey; }
}