|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBlackbird.PAD
public class PAD
Blackbird Encryption Project.
Copyright 2008 Blackbird Encryption Project - www.ravenproject.us
This file is part of Blackbird.Changes
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/>.
| Field Summary | |
|---|---|
static java.lang.String |
strClassID
|
static java.lang.String |
strDecPWParamID
|
| Fields inherited from interface Blackbird.EncryptionEntity |
|---|
strBBCodeSelect, strFlatSelect, strHTMLSelect |
| Constructor Summary | |
|---|---|
PAD(int x)
|
|
| Method Summary | |
|---|---|
java.lang.String |
decrypt(java.lang.String strArgList)
This is the upper level decrypt call in the class that takes an arg string assembled in the JavaScript code that is subject to an eval operation in the applet. |
boolean |
DOMLoaded()
This function tests for cases of the DOM being active. |
byte[] |
encrypt(byte[] bToEncrypt,
byte[] key)
This is the PAD function that performs the encryption. |
java.lang.String |
getClassID()
Return the class identification string. |
int |
getIndex()
Returns the index number assigned in the applet on instantiation of this class. |
java.lang.String |
getJavaScriptCode()
This function creates and returns the javaScript code that is subjected from there in the applet to an eval function. |
java.awt.MenuItem[] |
getMenuItems()
When created in the applet, this is called upon to help build the right-click menu of the applet to aid in further operations of this class. |
int |
getOPCode(java.lang.String s)
When the Applet responds to a selection of the right-click menu, it needs to know by name what to do next. |
void |
killPanel()
Though inconsistent with other Blackbird encryption systems, this class does not make us this function. |
void |
killPanel(Blackbird.PAD.PADKeyLoadPanel o)
This class calls on it's own version of killPanel. |
boolean |
loadedXML()
This function tests for cases of the XML Data being loaded or not. |
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 PAD Key Encryption |
boolean |
setPasswordExternally(java.lang.String p)
The application of this interface function for the PAD class is for automatic loading of PAD Key Sequence Data. |
void |
showEncryptionControlPanel(int i,
java.awt.Image iconImage,
java.lang.Object o)
This version of this function in this class uses the variable i to determine which of several panels to display. |
boolean |
testRuntime()
This encryption object does not rely on a third party runtime to function. |
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 strDecPWParamID
public static final java.lang.String strClassID
| Constructor Detail |
|---|
public PAD(int x)
| Method Detail |
|---|
public byte[] encrypt(byte[] bToEncrypt,
byte[] key)
bToEncrypt - key -
public java.lang.String getJavaScriptCode()
getJavaScriptCode in interface EncryptionEntitypublic java.awt.MenuItem[] getMenuItems()
getMenuItems in interface EncryptionEntitypublic int getIndex()
getIndex in interface EncryptionEntitypublic void killPanel(Blackbird.PAD.PADKeyLoadPanel o)
o - public boolean loadedXML()
public boolean DOMLoaded()
public void killPanel()
killPanel 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 testRuntime()
testRuntime in interface EncryptionEntitypublic 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 | ||||||||