Class SignedMessage

java.lang.Object
org.lfenergy.shapeshifter.api.SignedMessage
All Implemented Interfaces:
Serializable

public class SignedMessage extends Object implements 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 Details

    • senderDomain

      protected String senderDomain
    • senderRole

      protected USEFRoleType senderRole
    • body

      protected byte[] body
  • Constructor Details

    • SignedMessage

      public SignedMessage()
  • Method Details

    • getSenderDomain

      public String getSenderDomain()
      Gets the value of the senderDomain property.
      Returns:
      possible object is String
    • setSenderDomain

      public void setSenderDomain(String value)
      Sets the value of the senderDomain property.
      Parameters:
      value - allowed object is String
    • getSenderRole

      public USEFRoleType getSenderRole()
      Gets the value of the senderRole property.
      Returns:
      possible object is USEFRoleType
    • setSenderRole

      public void setSenderRole(USEFRoleType value)
      Sets the value of the senderRole property.
      Parameters:
      value - allowed object is USEFRoleType
    • 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[]