public class IncomingMessage extends DefaultMessageEnvelope
| Constructor and Description |
|---|
IncomingMessage(Message message)
Constructs an incoming envelope from a message.
|
IncomingMessage(Message message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Constructs an incoming envelope from a message, a list of recipients, and a sender.
|
IncomingMessage(String message)
Constructs an incoming envelope from a message represented by a raw string..
|
IncomingMessage(String message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Constructs an incoming envelope from a message represented as a raw string, a list of recipients, and a sender.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<DefaultMessageSignatureImpl> |
getSenderSignatures()
Gets the collection of individual signers of the message.
|
org.bouncycastle.cms.CMSSignedData |
getSignature()
Gets the message signature data.
|
boolean |
hasSenderSignatures()
Indicates if the message has signers.
|
boolean |
hasSignatures()
Indicates if the message has signature.
|
void |
setSenderSignatures(Collection<DefaultMessageSignatureImpl> senderSignatures)
Sets the collection of signers of a message.
|
void |
setSignature(org.bouncycastle.cms.CMSSignedData sig)
Sets the message signature data.
|
ensureRecipientsCategorizedByDomain, getAgent, getDomainRecipients, getMessage, getOtherRecipients, getRecipients, getRejectedRecipients, getSender, hasDomainRecipients, hasOtherRecipients, hasRecipients, hasRejectedRecipients, serializeMessage, setAgent, setMessagepublic IncomingMessage(Message message)
message - The incoming message.public IncomingMessage(String message)
message - The incoming message.@Inject public IncomingMessage(Message message, NHINDAddressCollection recipients, NHINDAddress sender)
message - The incoming message.recipients - A collection of addresses that denote the recipients of the message.sender - The original sender of the message.public IncomingMessage(String message, NHINDAddressCollection recipients, NHINDAddress sender)
message - The incoming message.recipients - A collection of addresses that denote the recipients of the message.sender - The original sender of the message.public org.bouncycastle.cms.CMSSignedData getSignature()
public void setSignature(org.bouncycastle.cms.CMSSignedData sig)
value - The message signature data.public boolean hasSignatures()
public Collection<DefaultMessageSignatureImpl> getSenderSignatures()
public void setSenderSignatures(Collection<DefaultMessageSignatureImpl> senderSignatures)
senderSignatures - The collection of signers of a message.public boolean hasSenderSignatures()
Copyright © 2010-2016 NHIN Direct. All Rights Reserved.