io.quarkus.security.deployment.BouncyCastleJsseProviderBuildItem Maven / Gradle / Ivy
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);
}
}