Top Fields Constructors Methods
org.bouncycastle.crypto.general

pack-priv Class Utils

extends Object
Class Inheritance
Imports
java.security.SecureRandom, org.bouncycastle.crypto.Algorithm, .CryptoServicesRegistrar, .IllegalKeyException, org.bouncycastle.crypto.fips.FipsUnapprovedOperationError, org.bouncycastle.crypto.internal.ValidatedSymmetricKey, org.bouncycastle.crypto.internal.params.KeyParameter, .KeyParameterImpl

Field Summary

Modifier and TypeField and Description
pack-priv static final SecureRandom

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
pack-priv static int
bitsToBytes(int bits)

pack-priv static void
checkKeyAlgorithm(ValidatedSymmetricKey key, Algorithm generalAlgorithm, Algorithm paramAlgorithm)

pack-priv static int
getDefaultMacSize(Algorithm algorithm, int blockSize)

pack-priv static KeyParameter
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

testRandomback to summary
pack-priv static final SecureRandom testRandom

Constructor Detail

Utilsback to summary
pack-priv Utils()

Method Detail

approveModeCheckback to summary
pack-priv static void approveModeCheck(Algorithm algorithm)
bitsToBytesback to summary
pack-priv static int bitsToBytes(int bits)
checkKeyAlgorithmback to summary
pack-priv static void checkKeyAlgorithm(ValidatedSymmetricKey key, Algorithm generalAlgorithm, Algorithm paramAlgorithm)
getDefaultMacSizeback to summary
pack-priv static int getDefaultMacSize(Algorithm algorithm, int blockSize)
getKeyParameterback to summary
pack-priv static KeyParameter getKeyParameter(ValidatedSymmetricKey sKey)