Package org.bouncycastle.crypto.general
Class RC2.AuthParameters
- java.lang.Object
-
- org.bouncycastle.crypto.general.GeneralParameters<GeneralAlgorithm>
-
- org.bouncycastle.crypto.general.GeneralParametersWithIV<T>
-
- org.bouncycastle.crypto.general.GeneralAuthParameters<RC2.AuthParameters>
-
- org.bouncycastle.crypto.general.RC2.AuthParameters
-
- All Implemented Interfaces:
AuthenticationParameters<RC2.AuthParameters>
,AuthenticationParametersWithIV<RC2.AuthParameters>
,Parameters
,ParametersWithIV<RC2.AuthParameters>
- Enclosing class:
- RC2
public static final class RC2.AuthParameters extends GeneralAuthParameters<RC2.AuthParameters>
Parameters for RC2 AEAD and MAC modes.
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.crypto.general.GeneralAuthParameters
macLenInBits
-
Fields inherited from class org.bouncycastle.crypto.general.GeneralParametersWithIV
blockSize, iv
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RC2.AuthParameters
create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
int
getEffectiveKeySizeInBits()
RC2.AuthParameters
withEffectiveKeySizeInBits(int effectiveKeySizeInBits)
-
Methods inherited from class org.bouncycastle.crypto.general.GeneralAuthParameters
create, getMACSizeInBits, withIV, withMACSize
-
Methods inherited from class org.bouncycastle.crypto.general.GeneralParametersWithIV
getIV, withIV, withIV
-
Methods inherited from class org.bouncycastle.crypto.general.GeneralParameters
getAlgorithm
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bouncycastle.crypto.Parameters
getAlgorithm
-
Methods inherited from interface org.bouncycastle.crypto.ParametersWithIV
getIV, withIV, withIV
-
-
-
-
Method Detail
-
withEffectiveKeySizeInBits
public RC2.AuthParameters withEffectiveKeySizeInBits(int effectiveKeySizeInBits)
-
create
protected RC2.AuthParameters create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
-
getEffectiveKeySizeInBits
public int getEffectiveKeySizeInBits()
-
-