|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.beasys.commerce.ebusiness.security.KeyFactory
Factory for both a private and public key. This class is
a singleton class. The KeyFactory class is bound
in JNDI to prevent the cached singleton from being garbage
collected.
| Field Summary | |
protected static KeyFactory |
singletonInstance
|
| Method Summary | |
static KeyFactory |
getInstance()
Retrieves the singleton instance of a KeyFactory. |
weblogic.security.RSAPrivateKeyPKCS8 |
getPrivateKey()
Returns the private key associated with the KeyFactory. |
weblogic.security.RSAPublicKey |
getPublicKey()
Returns the public key associated with the KeyFactory. |
void |
init(java.lang.String password)
Initializes the KeyFactory with a private password used for
private key decryption. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected static KeyFactory singletonInstance
| Method Detail |
public static KeyFactory getInstance()
KeyFactory.
public weblogic.security.RSAPublicKey getPublicKey()
KeyFactory.
KeyFactory.
public weblogic.security.RSAPrivateKeyPKCS8 getPrivateKey()
throws InconsistentStateException
KeyFactory.
KeyFactory.KeyFactory has not been initialized.public void init(java.lang.String password)
KeyFactory with a private password used for
private key decryption.
password - The private password.
|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||