2024-07-23 14:48:37 +08:00
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
type WebsiteCA struct {
|
|
|
|
|
BaseModel
|
|
|
|
|
CSR string `gorm:"not null;" json:"csr"`
|
|
|
|
|
Name string `gorm:"not null;" json:"name"`
|
|
|
|
|
PrivateKey string `gorm:"not null" json:"privateKey"`
|
2026-05-26 14:18:17 +08:00
|
|
|
KeyType string `gorm:"not null;default:RSA2048" json:"keyType"`
|
2024-07-23 14:48:37 +08:00
|
|
|
}
|