org.smslib
Class InboundEncryptedMessage
java.lang.Object
org.smslib.Message
org.smslib.InboundMessage
org.smslib.InboundBinaryMessage
org.smslib.InboundEncryptedMessage
- All Implemented Interfaces:
- java.io.Serializable
public class InboundEncryptedMessage
- extends InboundBinaryMessage
Class representing an inbound encrypted sms message.
- See Also:
- Serialized Form
Constructor Summary |
InboundEncryptedMessage(org.ajwcc.pduUtils.gsm3040.SmsDeliveryPdu pdu,
int memIndex,
java.lang.String memLocation)
|
Methods inherited from class org.smslib.InboundMessage |
getEndsWithMultiChar, getMemIndex, getMemLocation, getMpMaxNo, getMpMemIndex, getMpRefNo, getMpSeqNo, getOriginator, getPduUserDataHeader, getSmscNumber, setEndsWithMultiChar, setMemIndex, setMemLocation, setMpMaxNo, setMpMemIndex, setMpRefNo, setMpSeqNo, toString |
Methods inherited from class org.smslib.Message |
getDate, getDCSMessageClass, getDstPort, getEncoding, getGatewayId, getId, getMessageId, getSrcPort, getType, getUuid, setDate, setDCSMessageClass, setDstPort, setEncoding, setGatewayId, setId, setSrcPort |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InboundEncryptedMessage
public InboundEncryptedMessage(org.ajwcc.pduUtils.gsm3040.SmsDeliveryPdu pdu,
int memIndex,
java.lang.String memLocation)
getDecryptedText
public java.lang.String getDecryptedText()
throws SMSLibException,
java.security.InvalidKeyException,
javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException,
javax.crypto.NoSuchPaddingException,
java.security.NoSuchAlgorithmException
- Throws:
SMSLibException
java.security.InvalidKeyException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
javax.crypto.NoSuchPaddingException
java.security.NoSuchAlgorithmException
(c) 2002-2011, http://smslib.org