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

de.rub.nds.tls.subject.docker.build.LibraryBuildInformation Maven / Gradle / Ivy

Go to download

Bill of Materials POM for the entire protocol attacker ecosystem used to keep dependencies in sync.

The newest version!
/*
 * TLS-Docker-Library - A collection of open source TLS clients and servers
 *
 * Copyright 2017-2024 Ruhr University Bochum, Paderborn University, and Hackmanit GmbH
 *
 * Licensed under Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0.txt
 */
package de.rub.nds.tls.subject.docker.build;

import de.rub.nds.tls.subject.TlsImplementationType;
import java.nio.file.Path;
import java.util.Map;

public class LibraryBuildInformation {
    private final TlsImplementationType implementationType;
    private final Map versionDockerfileMap;

    public LibraryBuildInformation(
            TlsImplementationType implementationType, Map versionDockerfileMap) {
        this.implementationType = implementationType;
        this.versionDockerfileMap = versionDockerfileMap;
    }

    public TlsImplementationType getImplementationType() {
        return implementationType;
    }

    public Map getVersionDockerfileMap() {
        return versionDockerfileMap;
    }

    public boolean versionKnown(String version) {
        return versionDockerfileMap.keySet().contains(version.toLowerCase());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy