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

package org.bouncycastle.cms.jcajce;

import org.bouncycastle.cms.CMSException;
import org.bouncycastle.operator.InputDecryptor;
import org.bouncycastle.cms.RecipientOperator;
import org.bouncycastle.asn1.x509.AlgorithmIdentifier;

public class JcePasswordAuthEnvelopedRecipient extends JcePasswordRecipient
{
    public JcePasswordAuthEnvelopedRecipient(final char[] array) {
        super(array);
    }
    
    @Override
    public RecipientOperator getRecipientOperator(final AlgorithmIdentifier algorithmIdentifier, final AlgorithmIdentifier algorithmIdentifier2, final byte[] array, final byte[] array2) throws CMSException {
        return new RecipientOperator(new CMSInputAEADDecryptor(algorithmIdentifier2, this.helper.createContentCipher(this.extractSecretKey(algorithmIdentifier, algorithmIdentifier2, array, array2), algorithmIdentifier2)));
    }
}
