what-the-bank/sources/org/bouncycastle/crypto/params/KeyParameter.java

23 lines
521 B
Java

package org.bouncycastle.crypto.params;
import org.bouncycastle.crypto.CipherParameters;
/* loaded from: classes6.dex */
public class KeyParameter implements CipherParameters {
private byte[] key;
public byte[] getKey() {
return this.key;
}
public KeyParameter(byte[] bArr, int i, int i2) {
byte[] bArr2 = new byte[i2];
this.key = bArr2;
System.arraycopy(bArr, i, bArr2, 0, i2);
}
public KeyParameter(byte[] bArr) {
this(bArr, 0, bArr.length);
}
}