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

package org.bouncycastle.pqc.crypto.lms;

import java.security.SecureRandom;
import org.bouncycastle.crypto.KeyGenerationParameters;

public class HSSKeyGenerationParameters extends KeyGenerationParameters
{
    private final LMSParameters[] lmsParameters;
    
    public HSSKeyGenerationParameters(final LMSParameters[] lmsParameters, final SecureRandom secureRandom) {
        super(secureRandom, LmsUtils.calculateStrength(lmsParameters[0]));
        if (lmsParameters.length == 0 || lmsParameters.length > 8) {
            throw new IllegalArgumentException("lmsParameters length should be between 1 and 8 inclusive");
        }
        this.lmsParameters = lmsParameters;
    }
    
    public int getDepth() {
        return this.lmsParameters.length;
    }
    
    public LMSParameters[] getLmsParameters() {
        return this.lmsParameters;
    }
}
