|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.handlers.secureim.SecureIM
Handles SecureIM connections.
Constructor Summary | |
SecureIM(AIMSession sess,
java.lang.String certificateFilename,
java.lang.String certificatePassword)
Creates a new SecureIM. |
Method Summary | |
byte[] |
getEncoded()
Get the value of encoded. |
void |
init()
Initialize the keystore. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SecureIM(AIMSession sess, java.lang.String certificateFilename, java.lang.String certificatePassword)
sess
- the oscar sessioncertificateFilename
- the certificate filename
(.p12
format)certificatePassword
- the certifcate passwordMethod Detail |
public void init() throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.cert.CertificateException, java.security.InvalidKeyException, NoSuchPaddingException
java.io.IOException
- if an error occurs
java.security.KeyStoreException
- if an error occurs
java.security.NoSuchAlgorithmException
- if an error occurs
java.security.NoSuchProviderException
- if an error occurs
java.security.cert.CertificateException
- if an error occurs
java.security.InvalidKeyException
- if an error occurs
NoSuchPaddingException
- if an error occurspublic byte[] getEncoded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |