|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.handlers.secureim.SecureIM
public class SecureIM
Handles SecureIM connections.
Constructor Summary | |
---|---|
SecureIM(AIMSession sess,
String certificateFilename,
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, String certificateFilename, String certificatePassword)
sess
- the oscar sessioncertificateFilename
- the certificate filename
(.p12
format)certificatePassword
- the certifcate passwordMethod Detail |
---|
public void init() throws IOException, KeyStoreException, NoSuchAlgorithmException, NoSuchProviderException, CertificateException, InvalidKeyException, NoSuchPaddingException
IOException
- if an error occurs
KeyStoreException
- if an error occurs
NoSuchAlgorithmException
- if an error occurs
NoSuchProviderException
- if an error occurs
CertificateException
- if an error occurs
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 |