org.kde.koala
public class KSMIMECrypto extends Object implements QtSupport
| Field Summary | |
|---|---|
| static int | KSC_C_DES3_CBC |
| static int | KSC_C_DES_CBC |
| static int | KSC_C_RC2_CBC_128 |
| static int | KSC_C_RC2_CBC_40 |
| static int | KSC_C_RC2_CBC_64 |
| static int | KSC_R_FORMAT |
| static int | KSC_R_NOCIPHER |
| static int | KSC_R_NOMEM |
| static int | KSC_R_NO_SSL |
| static int | KSC_R_OK |
| static int | KSC_R_OTHER |
| static int | KSC_R_VERIFY |
| static int | KSC_R_WRONGKEY |
| Constructor Summary | |
|---|---|
| protected | KSMIMECrypto(Class dummy) |
| KSMIMECrypto() | |
| Method Summary | |
|---|---|
| int | decryptMessage(byte[] cipherText, StringBuffer clearText, KSSLPKCS12 privKey)
Decrypt a message |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
Parameters: cipherText encrypted message block clearText returns decrypted message privKey private key to use
Returns: 0 on success
UNKNOWN: Decrypt a message