public abstract class AbstractSAML2Artifact extends AbstractSAMLArtifact
Modifier | Constructor and Description |
---|---|
protected |
AbstractSAML2Artifact(byte[] artifactType)
Constructor.
|
|
AbstractSAML2Artifact(byte[] artifactType,
byte[] index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
base64Encode, equals, getRemainingArtifact, getTypeCode, hashCode, hexEncode, setTypeCode, toString
protected AbstractSAML2Artifact(byte[] artifactType)
artifactType
- artifact type codepublic AbstractSAML2Artifact(byte[] artifactType, byte[] index)
artifactType
- artifact type codeindex
- 2 byte endpoint index of the artifactIllegalArgumentException
- thrown if the endpoint index, source ID, or message handle arrays are not of the
right sizepublic byte[] getArtifactBytes()
getArtifactBytes
in class AbstractSAMLArtifact
public byte[] getEndpointIndex()
public void setEndpointIndex(byte[] newIndex)
newIndex
- 2 byte endpoint index for this artifactIllegalArgumentException
- thrown if the given index is not 2 bytesCopyright © 2016 JBoss by Red Hat. All rights reserved.