|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBlackbird.WK
public class WK
Blackbird Encryption Project.
Copyright 2008 Blackbird Encryption Project - www.ravenproject.us
This file is part of Blackbird.
Blackbird is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Blackbird is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Blackbird. If not, see <http://www.gnu.org/licenses/>.
Changes
| Nested Class Summary | |
|---|---|
class |
WK.EncryptionControlPanel
|
| Field Summary | |
|---|---|
static java.lang.String |
strClassID
|
| Fields inherited from interface Blackbird.EncryptionEntity |
|---|
strBBCodeSelect, strFlatSelect, strHTMLSelect |
| Constructor Summary | |
|---|---|
WK(int x)
|
|
| Method Summary | |
|---|---|
java.lang.String |
decrypt(java.lang.String strArgList)
This is the decrypt call at the topmost level of this class, that is called from the top level decrypt call in the applet, which is called back from the Eval applied to the JavaScript code. |
byte[] |
encrypt(long lFirmCode,
long lUserCode,
java.lang.String strToEncrypt)
This is the direct call into the WibuKey API for Encryption |
java.lang.String |
getClassID()
Return the class identification string. |
int |
getIndex()
Every class has an index when instantiated in the main applet. |
java.lang.String |
getJavaScriptCode()
Anonymous JavaScript function called up by the applet and handed to a JSObject eval function call. |
java.awt.MenuItem[] |
getMenuItems()
When the applet loads, it "asks" each class for menu items to diplay in a richt-click launched menu. |
int |
getOPCode(java.lang.String s)
Invoked by actions on the applet pertaining to menu choices, this class will return a code based on the string given that further determines what the applet does next. |
java.util.Vector |
getSerialNumbers(long lhwkbsys)
This function will gather up the connected WibuKey Serial Numbers. |
void |
killPanel()
This is invoked by the panels themeselves to dispose when no longer needed. |
java.lang.String |
parseID(java.lang.String arglist)
parseID is used by those entities that need to single out an Identifier string needed by a using class to find out "who" created the encryption entry. |
void |
setFrameTarget(int i)
setFrameTarget is used to set a variable that is concated in the Javascript generation function that is set pertaining to the "position" the applet resides in the DOM. |
void |
setID(java.lang.String sid)
Not used in WibuKey Encryption |
boolean |
setPasswordExternally(java.lang.String p)
There is currently no external key or initialization vector in WibuKey implemented. |
void |
showEncryptionControlPanel(int i,
java.awt.Image iconImage,
java.lang.Object o)
Part of the interface, this function will, based on the value of i, determin which of this classes control panels are shown. |
boolean |
testRuntime()
This is called up when the class is built, and is for seeing if there is a WibuKey runtime installed or of any WibuKeys are plugged into the client machine. |
boolean |
usesPWIVector()
Some Encryption entities use passwords or initialization vectors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String strClassID
| Constructor Detail |
|---|
public WK(int x)
| Method Detail |
|---|
public void killPanel()
killPanel in interface EncryptionEntity
public byte[] encrypt(long lFirmCode,
long lUserCode,
java.lang.String strToEncrypt)
lFirmCode - lUserCode - strToEncrypt -
public boolean testRuntime()
testRuntime in interface EncryptionEntitypublic java.util.Vector getSerialNumbers(long lhwkbsys)
lhwkbsys -
public java.lang.String getJavaScriptCode()
getJavaScriptCode in interface EncryptionEntitypublic java.awt.MenuItem[] getMenuItems()
getMenuItems in interface EncryptionEntitypublic int getIndex()
getIndex in interface EncryptionEntity
public void showEncryptionControlPanel(int i,
java.awt.Image iconImage,
java.lang.Object o)
showEncryptionControlPanel in interface EncryptionEntityi - iconImage - o - public int getOPCode(java.lang.String s)
getOPCode in interface EncryptionEntitys -
public boolean setPasswordExternally(java.lang.String p)
setPasswordExternally in interface EncryptionEntityp -
public java.lang.String decrypt(java.lang.String strArgList)
decrypt in interface EncryptionEntitystrArgList -
public void setFrameTarget(int i)
setFrameTarget in interface EncryptionEntityi - public java.lang.String getClassID()
getClassID in interface EncryptionEntitypublic boolean usesPWIVector()
usesPWIVector in interface EncryptionEntitypublic java.lang.String parseID(java.lang.String arglist)
parseID in interface EncryptionEntityarglist -
public void setID(java.lang.String sid)
setID in interface EncryptionEntitysid -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||