mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-25 13:50:02 +00:00
32 lines
782 B
Go
32 lines
782 B
Go
package dtos
|
|
|
|
type CertificateArchiveFileReq struct {
|
|
CertificateId string `json:"-"`
|
|
Format string `json:"format"`
|
|
}
|
|
|
|
type CertificateArchiveFileResp struct {
|
|
Certificate string `json:"certificate"`
|
|
PrivateKey string `json:"privateKey"`
|
|
}
|
|
|
|
type CertificateValidateCertificateReq struct {
|
|
Certificate string `json:"certificate"`
|
|
}
|
|
|
|
type CertificateValidateCertificateResp struct {
|
|
Domains string `json:"domains"`
|
|
}
|
|
|
|
type CertificateValidatePrivateKeyReq struct {
|
|
PrivateKey string `json:"privateKey"`
|
|
}
|
|
|
|
type CertificateUploadReq struct {
|
|
WorkflowId string `json:"workflowId"`
|
|
WorkflowNodeId string `json:"workflowNodeId"`
|
|
CertificateId string `json:"certificateId"`
|
|
Certificate string `json:"certificate"`
|
|
PrivateKey string `json:"privateKey"`
|
|
}
|