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

package org.bouncycastle.cert.cmp;

import org.bouncycastle.asn1.cmp.POPODecKeyRespContent;
import org.bouncycastle.asn1.DERSequence;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.ASN1Integer;
import java.math.BigInteger;
import org.bouncycastle.asn1.ASN1EncodableVector;

public class POPODecryptionKeyResponseContentBuilder
{
    private ASN1EncodableVector v;
    
    public POPODecryptionKeyResponseContentBuilder() {
        this.v = new ASN1EncodableVector();
    }
    
    public POPODecryptionKeyResponseContentBuilder addChallengeResponse(final byte[] val) {
        this.v.add(new ASN1Integer(new BigInteger(val)));
        return this;
    }
    
    public POPODecryptionKeyResponseContent build() {
        return new POPODecryptionKeyResponseContent(POPODecKeyRespContent.getInstance(new DERSequence(this.v)));
    }
}
