Package org.lfenergy.shapeshifter.api
Class SignedMessage
java.lang.Object
org.lfenergy.shapeshifter.api.SignedMessage
- All Implemented Interfaces:
Serializable
The SignedMessage element represents the secure wrapper used to submit USEF XML messages from the local message queue to the message queue of a remote participant. It contains
minimal metadata (which is distinct from the common metadata used for all other messages), allowing the recipient to look up the sender's cryptographic scheme and public keys, and the actual
XML message, as transformed (signed/sealed) using that cryptographic scheme.
Java class for SignedMessageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignedMessageType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="SenderDomain" use="required" type="{}InternetDomainType" />
<attribute name="SenderRole" use="required" type="{}USEF-RoleType" />
<attribute name="Body" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBody()Gets the value of the body property.Gets the value of the senderDomain property.Gets the value of the senderRole property.voidsetBody(byte[] value) Sets the value of the body property.voidsetSenderDomain(String value) Sets the value of the senderDomain property.voidsetSenderRole(USEFRoleType value) Sets the value of the senderRole property.
-
Field Details
-
senderDomain
-
senderRole
-
body
protected byte[] body
-
-
Constructor Details
-
SignedMessage
public SignedMessage()
-
-
Method Details
-
getSenderDomain
Gets the value of the senderDomain property.- Returns:
- possible object is
String
-
setSenderDomain
Sets the value of the senderDomain property.- Parameters:
value- allowed object isString
-
getSenderRole
Gets the value of the senderRole property.- Returns:
- possible object is
USEFRoleType
-
setSenderRole
Sets the value of the senderRole property.- Parameters:
value- allowed object isUSEFRoleType
-
getBody
public byte[] getBody()Gets the value of the body property.- Returns:
- possible object is byte[]
-
setBody
public void setBody(byte[] value) Sets the value of the body property.- Parameters:
value- allowed object is byte[]
-