Bouncy Castle Cryptography Library 1.77.0

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
KeyParameter(byte[] key)
           
KeyParameter(byte[] key, int keyOff, int keyLen)
           
 
Method Summary
 void copyTo(byte[] buf, int off, int len)
           
 byte[] getKey()
           
 int getKeyLength()
           
 KeyParameter reverse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyParameter

public KeyParameter(byte[] key)

KeyParameter

public KeyParameter(byte[] key,
                    int keyOff,
                    int keyLen)
Method Detail

copyTo

public void copyTo(byte[] buf,
                   int off,
                   int len)

getKey

public byte[] getKey()

getKeyLength

public int getKeyLength()

reverse

public KeyParameter reverse()

Bouncy Castle Cryptography Library 1.77.0