Package org.bouncycastle.crypto.params
Class KeyParameter
- java.lang.Object
-
- org.bouncycastle.crypto.params.KeyParameter
-
- All Implemented Interfaces:
CipherParameters
- Direct Known Subclasses:
DESParameters
,RC2Parameters
public class KeyParameter extends java.lang.Object implements CipherParameters
-
-
Constructor Summary
Constructors Constructor Description KeyParameter(byte[] key)
KeyParameter(byte[] key, int keyOff, int keyLen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyTo(byte[] buf, int off, int len)
byte[]
getKey()
int
getKeyLength()
KeyParameter
reverse()
-
-
-
Method Detail
-
copyTo
public void copyTo(byte[] buf, int off, int len)
-
getKey
public byte[] getKey()
-
getKeyLength
public int getKeyLength()
-
reverse
public KeyParameter reverse()
-
-