// 
// Decompiled by Procyon v0.6.0
// 

package org.bouncycastle.math.ec;

class ValidityPrecompInfo implements PreCompInfo
{
    static final String PRECOMP_NAME = "bc_validity";
    private boolean failed;
    private boolean curveEquationPassed;
    private boolean orderPassed;
    
    ValidityPrecompInfo() {
        this.failed = false;
        this.curveEquationPassed = false;
        this.orderPassed = false;
    }
    
    boolean hasFailed() {
        return this.failed;
    }
    
    void reportFailed() {
        this.failed = true;
    }
    
    boolean hasCurveEquationPassed() {
        return this.curveEquationPassed;
    }
    
    void reportCurveEquationPassed() {
        this.curveEquationPassed = true;
    }
    
    boolean hasOrderPassed() {
        return this.orderPassed;
    }
    
    void reportOrderPassed() {
        this.orderPassed = true;
    }
}
