All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.quickmsg.common.config.SslContext Maven / Gradle / Ivy

The newest version!
package io.github.quickmsg.common.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author luxurong
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SslContext {

    private String crt;

    private String key;

    private String ca;

    private Boolean enable;


    public SslContext(String crt, String key) {
        this.crt = crt;
        this.key = key;
    }

    public SslContext(String crt, String key, Boolean enable) {
        this.crt = crt;
        this.key = key;
        this.enable = enable;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy