|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.common.binding.artifact.AbstractSAMLArtifact
org.opensaml.saml2.binding.artifact.AbstractSAML2Artifact
public abstract class AbstractSAML2Artifact
SAML 2 Artifact base class. SAML 2 artifacts contains a 2 byte type code followed by a 2 byte endpoint index followed by remaining artifact data.
| Constructor Summary | |
|---|---|
protected |
AbstractSAML2Artifact(byte[] artifactType)
Constructor. |
|
AbstractSAML2Artifact(byte[] artifactType,
byte[] index)
Constructor. |
| Method Summary | |
|---|---|
byte[] |
getArtifactBytes()
Gets the bytes for the artifact. |
byte[] |
getEndpointIndex()
Gets the 2 byte endpoint index for this artifact. |
void |
setEndpointIndex(byte[] newIndex)
Sets the 2 byte endpoint index for this artifact. |
| Methods inherited from class org.opensaml.common.binding.artifact.AbstractSAMLArtifact |
|---|
base64Encode, equals, getRemainingArtifact, getTypeCode, hashCode, hexEncode, setTypeCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSAML2Artifact(byte[] artifactType)
artifactType - artifact type code
public AbstractSAML2Artifact(byte[] artifactType,
byte[] index)
artifactType - artifact type codeindex - 2 byte endpoint index of the artifact
java.lang.IllegalArgumentException - thrown if the endpoint index, source ID, or message handle arrays are not of the
right size| Method Detail |
|---|
public byte[] getArtifactBytes()
getArtifactBytes in class AbstractSAMLArtifactpublic byte[] getEndpointIndex()
public void setEndpointIndex(byte[] newIndex)
newIndex - 2 byte endpoint index for this artifact
java.lang.IllegalArgumentException - thrown if the given index is not 2 bytes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||