what-the-bank/sources/org/bouncycastle/crypto/agreement/kdf/DHKDFParameters.java

40 lines
1.0 KiB
Java

package org.bouncycastle.crypto.agreement.kdf;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.crypto.DerivationParameters;
/* loaded from: classes6.dex */
public class DHKDFParameters implements DerivationParameters {
private ASN1ObjectIdentifier algorithm;
private byte[] extraInfo;
private int keySize;
private byte[] z;
public byte[] getZ() {
return this.z;
}
public int getKeySize() {
return this.keySize;
}
public byte[] getExtraInfo() {
return this.extraInfo;
}
public ASN1ObjectIdentifier getAlgorithm() {
return this.algorithm;
}
public DHKDFParameters(ASN1ObjectIdentifier aSN1ObjectIdentifier, int i, byte[] bArr, byte[] bArr2) {
this.algorithm = aSN1ObjectIdentifier;
this.keySize = i;
this.z = bArr;
this.extraInfo = bArr2;
}
public DHKDFParameters(ASN1ObjectIdentifier aSN1ObjectIdentifier, int i, byte[] bArr) {
this(aSN1ObjectIdentifier, i, bArr, null);
}
}