package org.bouncycastle.crypto.params; import org.bouncycastle.crypto.CipherParameters; /* loaded from: classes6.dex */ public class AEADParameters implements CipherParameters { private byte[] associatedText; private KeyParameter key; private int macSize; private byte[] nonce; public byte[] getNonce() { return this.nonce; } public int getMacSize() { return this.macSize; } public KeyParameter getKey() { return this.key; } public byte[] getAssociatedText() { return this.associatedText; } public AEADParameters(KeyParameter keyParameter, int i, byte[] bArr, byte[] bArr2) { this.key = keyParameter; this.nonce = bArr; this.macSize = i; this.associatedText = bArr2; } public AEADParameters(KeyParameter keyParameter, int i, byte[] bArr) { this(keyParameter, i, bArr, null); } }