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

io.muserver.SSLInfoImpl Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
package io.muserver;

import java.util.List;

class SSLInfoImpl implements SSLInfo {
    private final String providerName;
    private final List protocols;
    private final List ciphers;

    SSLInfoImpl(String providerName, List protocols, List ciphers) {
        this.providerName = providerName;
        this.protocols = protocols;
        this.ciphers = ciphers;
    }

    @Override
    public List ciphers() {
        return ciphers;
    }

    @Override
    public List protocols() {
        return protocols;
    }

    @Override
    public String providerName() {
        return providerName;
    }

    @Override
    public String toString() {
        return "SSLInfoImpl{" +
            "providerName='" + providerName + '\'' +
            ", protocols=" + protocols +
            ", ciphers=" + ciphers +
            '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy