package org.wfc.common.license.runner;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author: cyc
 * @since: 2025-04-11
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "license")
public class LicenseProperties {
    /**
     * 证书subject
     */
    private String subject = "license_wfc";

    /**
     * 公钥别称
     */
    private String publicAlias = "publicCert";

    /**
     * 访问公钥库的密码
     */
    private String storePass = "public_wfc_Admin123";

    /**
     * 证书生成路径
     */
    private String licensePath = "/opt/wfc/license/license.lic";

    /**
     * 密钥库存储路径
     */
    private String publicKeysStorePath = "publicCerts.keystore";
}
