|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.util.crypto.BlowfishKey
public class BlowfishKey
A representation of a symmetric key used in the Blowfish cipher. It is a wrapper of the actual key it generates from a plain text representation of the key.
Constructor Summary | |
---|---|
BlowfishKey()
Constructs a new symmetric key for the Blowfish cipher. |
|
BlowfishKey(byte[] keyCode)
Constructs a new symmetric key for the Blowfish cypher from the specified binary key code. |
|
BlowfishKey(String keyCode)
Constructs a new symmetric key for the Blowfish cypher from the specified key code in text. |
Method Summary | |
---|---|
String |
getAlgorithm()
|
byte[] |
getEncoded()
|
String |
getFormat()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlowfishKey()
public BlowfishKey(String keyCode)
keyCode
- the code of the key.public BlowfishKey(byte[] keyCode)
keyCode
- the code of the key.Method Detail |
---|
public String getAlgorithm()
getAlgorithm
in interface Key
public String getFormat()
getFormat
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |