|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.acm.SigningUtility
public abstract class SigningUtility
This is a base class for signing things.
The state diagram for the caller could be displayed in the following way:
.---------------[logout]--------------.
| |
v |
.-------. .-----------------.--'
| start |--[login]-->| constant signer |----------------.
`-------' .--------->`-----------------' |
| |
`--[getSigningAlgorithmID, sign, isLoggedIn]--'
Note that in ``constant signer`` state the Manager must ensure the signer does not change after logging in.
In ISSRG implementation of the Manager the Issuer DN and Issuer BCID input fields are disabled for editing and are present only for observation of the current value; however, before signing the Manager puts there the actual values obtained from the PKC.
The ISSRG implementation logs the user out after each signing to ensure better security of the signing process.
Constructor Summary | |
---|---|
SigningUtility()
|
Method Summary | |
---|---|
abstract void |
login(java.awt.Frame f,
java.util.Map m)
|
abstract void |
logout(java.awt.Frame f,
java.util.Map m)
|
void |
registerMe(Registry where)
You do not need to override this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface issrg.security.Signer |
---|
getSigningAlgorithmID, getVerificationCertificate, sign |
Constructor Detail |
---|
public SigningUtility()
Method Detail |
---|
public final void registerMe(Registry where)
registerMe
in interface Utility
public abstract void login(java.awt.Frame f, java.util.Map m) throws SecurityException
SecurityException
public abstract void logout(java.awt.Frame f, java.util.Map m) throws SecurityException
SecurityException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |