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

package org.bouncycastle.jcajce.spec;

import org.bouncycastle.util.Arrays;
import java.security.spec.AlgorithmParameterSpec;

public class IESKEMParameterSpec implements AlgorithmParameterSpec
{
    private final byte[] recipientInfo;
    private final boolean usePointCompression;
    
    public IESKEMParameterSpec(final byte[] array) {
        this(array, false);
    }
    
    public IESKEMParameterSpec(final byte[] array, final boolean usePointCompression) {
        this.recipientInfo = Arrays.clone(array);
        this.usePointCompression = usePointCompression;
    }
    
    public byte[] getRecipientInfo() {
        return Arrays.clone(this.recipientInfo);
    }
    
    public boolean hasUsePointCompression() {
        return this.usePointCompression;
    }
}
