public abstract class AbstractSAML2Artifact extends AbstractSAMLArtifact implements SAML2Artifact
Modifier and Type | Field and Description |
---|---|
private byte[] |
endpointIndex
2 byte artifact endpoint index.
|
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTypeCode
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 interface SAMLArtifact
getArtifactBytes
in class AbstractSAMLArtifact
@Nonnull public byte[] getEndpointIndex()
getEndpointIndex
in interface SAML2Artifact
public void setEndpointIndex(byte[] newIndex)
newIndex
- 2 byte endpoint index for this artifactIllegalArgumentException
- thrown if the given index is not 2 bytesCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.