public class SecureIM extends Object
| Constructor and Description |
|---|
SecureIM(AIMSession sess,
String certificateFilename,
String certificatePassword)
Creates a new SecureIM.
|
public SecureIM(AIMSession sess, String certificateFilename, String certificatePassword)
sess - the oscar sessioncertificateFilename - the certificate filename
(.p12 format)certificatePassword - the certifcate passwordpublic void init()
throws IOException,
KeyStoreException,
NoSuchAlgorithmException,
NoSuchProviderException,
CertificateException,
InvalidKeyException,
NoSuchPaddingException
IOException - if an error occursKeyStoreException - if an error occursNoSuchAlgorithmException - if an error occursNoSuchProviderException - if an error occursCertificateException - if an error occursInvalidKeyException - if an error occursNoSuchPaddingException - if an error occurspublic byte[] getEncoded()