|
OOP Protector Version 1.0 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Create the new instance of Protector and return it. This class depends on Mercury API.
ProtectorInterface,
Mercury API Documentation,
KeyPairBox| Method Summary | |
ProtectorInterface |
getProtector(java.io.Serializable box)
Create the new instance of Protector based on the specified KeyPairBox instance and return it. |
ProtectorInterface |
getProtector(java.lang.String usr,
java.lang.String pss)
Create the new instance of Protector based on the default KeyPairBox instance and return it. |
ProtectorInterface |
getProtector(java.lang.String usr,
java.lang.String pss,
java.lang.String alias)
Create the new instance of Protector based on the default KeyPairBox instance and return it. |
void |
unbindProtector(java.lang.String usr,
java.lang.String pss)
Can be invoked only by the administrator. |
| Method Detail |
public ProtectorInterface getProtector(java.lang.String usr,
java.lang.String pss)
throws java.rmi.RemoteException,
com.oopreserch.util.SimpleException,
com.oopreserch.util.NestedException
usr - The user name for the default KeyPairBox.pss - The password for the default KeyPairBox.ProtectorInterface,
KeyPairBox
public ProtectorInterface getProtector(java.lang.String usr,
java.lang.String pss,
java.lang.String alias)
throws java.rmi.RemoteException,
com.oopreserch.util.SimpleException,
com.oopreserch.util.NestedException
usr - The user name for the default KeyPairBox.pss - The password for the default KeyPairBox.alias - The name of the public key used to decrypt
and verify. Other public keys are removed from the instance
of KeyPairBox, which means the data signed and encrypted
by the other private keys fails to be decrypted and verified.ProtectorInterface,
KeyPairBox
public ProtectorInterface getProtector(java.io.Serializable box)
throws java.rmi.RemoteException,
com.oopreserch.util.NestedException
box - The serializable KeyPairBox instance.ProtectorInterface,
KeyPairBox
public void unbindProtector(java.lang.String usr,
java.lang.String pss)
throws java.rmi.RemoteException,
java.lang.Exception
usr - The user name for administrator.pss - The password for administrator.
|
OOP Protector Version 1.0 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
ALL CONTENTS COPYRIGHT 2000, Jun Inamori. All rights reserved.
Any questions and comments are welcome to Jun Inamori.