@Deprecated public class EventHeadersImpl extends java.lang.Object implements EventHeaders
| Constructor and Description |
|---|
EventHeadersImpl()
Deprecated.
|
EventHeadersImpl(byte[] headerBytes)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
createHeaderSnapshot()
Deprecated.
Creates a snapshot of the headers contained in the event headers
|
java.lang.String |
getApplicationType()
Deprecated.
Gets the application type associated with this event
|
java.lang.String |
getAssertions()
Deprecated.
Retrieve SAML Assertions.
|
byte[] |
getBytes()
Deprecated.
Generate the serialized representation of the event headers
|
byte[] |
getCipherIV()
Deprecated.
Retrieves the IV associated with the encrypted payload.
|
java.lang.String |
getCipherMode()
Deprecated.
Retrieves the Cipher mode.
|
java.lang.String |
getCipherPaddingScheme()
Deprecated.
Retrieves the Cipher padding scheme.
|
java.lang.String |
getCompressionAlgorithm()
Deprecated.
Get information regarding the compresssion algorithm being used
|
EventID |
getCorrelationIdentifier()
Deprecated.
Returns the correlation identifier associated with the event
|
EventID |
getEventId()
Deprecated.
Get the event identifier
|
long |
getFragmentationEpoch()
Deprecated.
Gets the epoch associated with the fragmentation
|
java.lang.String |
getFragmentationIdentifier()
Deprecated.
Returns the fragmentation identifier associated with this fragment.
|
int |
getFragmentNumber()
Deprecated.
Gets the fragment number associated with this fragment
|
void |
getHeadersFromSnapshot()
Deprecated.
Retrieves the values of headers based on the snapshot
|
byte[] |
getMessageDigest()
Deprecated.
Gets the message digest for the payload.
|
java.lang.String |
getMessageDigestScheme()
Deprecated.
Returns the message digest scheme used for computing the digest.
|
long |
getOriginalPayloadLength()
Deprecated.
Gets the original payload length prior to compression/fragmentation.
|
int |
getPriority()
Deprecated.
Gets the priority associated with this event
|
byte[] |
getSecurityTimeStampedSeqNo()
Deprecated.
|
byte[] |
getSignature()
Deprecated.
Retrieve the signature associated with event.
|
java.lang.String |
getSignatureAlgorithm()
Deprecated.
Retrieves the signature Algorithm.
|
byte[] |
getSignedSecurityToken()
Deprecated.
Get the Security token from the event
|
int |
getSliceEndingPoint()
Deprecated.
Gets the slice ending point
|
int |
getSliceStartingPoint()
Deprecated.
Gets the slice from which point on the payload is included.
|
int |
getSource()
Deprecated.
Returns the generator of this message
|
int |
getTemplateId()
Deprecated.
Indicates the templateId which this event conforms to
|
long |
getTimeStamp()
Deprecated.
Returns the timestamp for this event.
|
int |
getTimeToLive()
Deprecated.
Returns the time to live
|
int |
getTotalNumberOfFragments()
Deprecated.
Gets the fragment number associated with this fragment
|
boolean |
hasAssertions()
Deprecated.
Indicates if there are security assertions encapsulated in this event.
|
boolean |
hasCipherIV()
Deprecated.
Indicates if there is an IV associated with the encrypted payload
|
boolean |
hasEventId()
Deprecated.
Indicates if there is an event id associated with this message
|
boolean |
hasIntegrity()
Deprecated.
Indicates if the event has integerity check information.
|
boolean |
hasPriorityInfo()
Deprecated.
Indicates if this event includes priority information
|
boolean |
hasSignature()
Deprecated.
Indicates if the event has a signature associated with it
|
boolean |
hasSignedSecurityToken()
Deprecated.
Indicates if the event has a signature associated with it
|
boolean |
hasTotalNumberOfFragmentsInfo()
Deprecated.
Indicates if there is information pertaining to the total number of
fragments
|
boolean |
isCompressed()
Deprecated.
Indicates if the payload has been compressed.
|
boolean |
isCorrelated()
Deprecated.
Indicates if this event is correlated with any other event.
|
boolean |
isFragmented()
Deprecated.
Indicates if this event is a fragment of a larger event
|
boolean |
isLastFragment()
Deprecated.
Indicates if this is the last fragment in the series of fragmented events
|
boolean |
isModified()
Deprecated.
Indicates if the EventHeader has been modified since the last time
that it was serialized.
|
boolean |
isPayloadCompressionFinalStep()
Deprecated.
Indicates if the payload was compressed after operations such as securing,
computing message digests were performed
|
boolean |
isPersistent()
Deprecated.
Indicates if the event is a persistent one.
|
boolean |
isSecure()
Deprecated.
Indicates if this event is a secure event
|
boolean |
isSliced()
Deprecated.
|
boolean |
isTransient()
Deprecated.
Indicates if this event is a transient event.
|
static void |
main(java.lang.String[] args)
Deprecated.
A test routine to test the functionality
|
void |
printHeaders()
Deprecated.
|
void |
setEncryptedPayloadInformation(byte[] cipherIV,
java.lang.String cipherMode,
java.lang.String cipherPaddingScheme)
Deprecated.
|
void |
setSecurityTimeStampedSequenceNo(byte[] obj)
Deprecated.
|
void |
setSecurityToken(byte[] tokenBytes)
Deprecated.
Set the signed security token
|
void |
setSignatureInformation(java.lang.String signatureAlgorithm,
byte[] signature)
Deprecated.
|
boolean |
supressDistributionToSource()
Deprecated.
Indicates that the message should not be rerouted to it source, that is
contained in the event headers
|
public EventHeadersImpl()
public EventHeadersImpl(byte[] headerBytes)
public int getTemplateId()
getTemplateId in interface EventHeaderspublic long getTimeStamp()
getTimeStamp in interface EventHeaderspublic int getSource()
getSource in interface EventHeaderspublic boolean supressDistributionToSource()
supressDistributionToSource in interface EventHeaderspublic boolean hasEventId()
hasEventId in interface EventHeaderspublic EventID getEventId()
getEventId in interface EventHeaderspublic boolean isCorrelated()
isCorrelated in interface EventHeaderspublic EventID getCorrelationIdentifier()
getCorrelationIdentifier in interface EventHeaderspublic int getTimeToLive()
getTimeToLive in interface EventHeaderspublic boolean isSecure()
isSecure in interface EventHeaderspublic boolean hasSignedSecurityToken()
public boolean hasSignature()
hasSignature in interface EventHeaderspublic java.lang.String getSignatureAlgorithm()
getSignatureAlgorithm in interface EventHeaderspublic byte[] getSignature()
getSignature in interface EventHeaderspublic boolean hasCipherIV()
hasCipherIV in interface EventHeaderspublic byte[] getCipherIV()
getCipherIV in interface EventHeaderspublic java.lang.String getCipherMode()
getCipherMode in interface EventHeaderspublic java.lang.String getCipherPaddingScheme()
getCipherPaddingScheme in interface EventHeaderspublic boolean hasAssertions()
hasAssertions in interface EventHeaderspublic java.lang.String getAssertions()
getAssertions in interface EventHeaderspublic boolean hasIntegrity()
hasIntegrity in interface EventHeaderspublic java.lang.String getMessageDigestScheme()
getMessageDigestScheme in interface EventHeaderspublic byte[] getMessageDigest()
getMessageDigest in interface EventHeaderspublic boolean isFragmented()
isFragmented in interface EventHeaderspublic java.lang.String getFragmentationIdentifier()
getFragmentationIdentifier in interface EventHeaderspublic boolean isLastFragment()
isLastFragment in interface EventHeaderspublic int getFragmentNumber()
getFragmentNumber in interface EventHeaderspublic boolean hasTotalNumberOfFragmentsInfo()
hasTotalNumberOfFragmentsInfo in interface EventHeaderspublic int getTotalNumberOfFragments()
getTotalNumberOfFragments in interface EventHeaderspublic long getFragmentationEpoch()
getFragmentationEpoch in interface EventHeaderspublic boolean isSliced()
isSliced in interface EventHeaderspublic int getSliceStartingPoint()
getSliceStartingPoint in interface EventHeaderspublic int getSliceEndingPoint()
getSliceEndingPoint in interface EventHeaderspublic boolean hasPriorityInfo()
hasPriorityInfo in interface EventHeaderspublic int getPriority()
getPriority in interface EventHeaderspublic java.lang.String getApplicationType()
getApplicationType in interface EventHeaderspublic boolean isPersistent()
isPersistent in interface EventHeaderspublic boolean isTransient()
isTransient in interface EventHeaderspublic boolean isCompressed()
isCompressed in interface EventHeaderspublic java.lang.String getCompressionAlgorithm()
getCompressionAlgorithm in interface EventHeaderspublic long getOriginalPayloadLength()
getOriginalPayloadLength in interface EventHeaderspublic boolean isPayloadCompressionFinalStep()
isPayloadCompressionFinalStep in interface EventHeaderspublic void setSignatureInformation(java.lang.String signatureAlgorithm,
byte[] signature)
setSignatureInformation in interface EventHeaderspublic void setEncryptedPayloadInformation(byte[] cipherIV,
java.lang.String cipherMode,
java.lang.String cipherPaddingScheme)
setEncryptedPayloadInformation in interface EventHeaderspublic byte[] getSignedSecurityToken()
getSignedSecurityToken in interface EventHeaderspublic void setSecurityToken(byte[] tokenBytes)
setSecurityToken in interface EventHeaderspublic byte[] getSecurityTimeStampedSeqNo()
getSecurityTimeStampedSeqNo in interface EventHeaderspublic void setSecurityTimeStampedSequenceNo(byte[] obj)
setSecurityTimeStampedSequenceNo in interface EventHeaderspublic byte[] getBytes()
getBytes in interface EventHeaderspublic boolean isModified()
EventHeadersisModified in interface EventHeaderspublic int createHeaderSnapshot()
public void getHeadersFromSnapshot()
public void printHeaders()
public static void main(java.lang.String[] args)