public abstract class AbstractSAMLArtifact extends Object implements SAMLArtifact
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
typeCode
2 byte artifact type code.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSAMLArtifact(byte[] code)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
base64Encode()
Gets the Base64 encoded artifact.
|
boolean |
equals(Object o) |
byte[] |
getArtifactBytes()
Gets the bytes for the artifact.
|
abstract byte[] |
getRemainingArtifact()
Gets the artifact bytes minus the type code.
|
byte[] |
getTypeCode()
Gets the 2 byte type code for this artifact.
|
int |
hashCode() |
String |
hexEncode()
Gets the hex encoded artifact.
|
protected void |
setTypeCode(byte[] newTypeCode)
Sets the 2 byte type code for this artifact.
|
String |
toString() |
protected AbstractSAMLArtifact(@Nonnull byte[] code)
code - the artifact type codeIllegalArgumentException - thrown if the given type code is not two bytes in length@Nonnull public byte[] getArtifactBytes()
getArtifactBytes in interface SAMLArtifact@Nonnull public byte[] getTypeCode()
getTypeCode in interface SAMLArtifactprotected void setTypeCode(@Nonnull byte[] newTypeCode)
newTypeCode - 2 byte type code for this artifact@Nonnull public abstract byte[] getRemainingArtifact()
@Nonnull @NotEmpty public String base64Encode()
@Nonnull @NotEmpty public String hexEncode()
Copyright © 1999–2016 Shibboleth Consortium. All rights reserved.