Files
CaddyToDSM/structs.py
T

17 lines
295 B
Python

from dataclasses import dataclass
from datetime import datetime
@dataclass
class CertInfo:
fingerprint: str
expires_at: datetime
subject: str
@dataclass
class DSMInfo:
certificate_name: str
private_key_path: str
certificate_pem_path: str
private_key_pem_path: str