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

io.quarkus.security.deployment.BouncyCastleJsseProviderBuildItem Maven / Gradle / Ivy

The newest version!
package io.quarkus.security.deployment;

import java.util.Objects;

import io.quarkus.builder.item.MultiBuildItem;

public final class BouncyCastleJsseProviderBuildItem extends MultiBuildItem {
    private final boolean inFipsMode;

    public BouncyCastleJsseProviderBuildItem() {
        this(false);
    }

    public BouncyCastleJsseProviderBuildItem(boolean inFipsMode) {
        this.inFipsMode = inFipsMode;
    }

    public boolean isInFipsMode() {
        return inFipsMode;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;
        BouncyCastleJsseProviderBuildItem that = (BouncyCastleJsseProviderBuildItem) o;
        return inFipsMode == that.inFipsMode;
    }

    @Override
    public int hashCode() {
        return Objects.hash(inFipsMode);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy