public abstract class AbstractSAMLArtifact
extends java.lang.Object
| 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 |
|---|---|
java.lang.String |
base64Encode()
Gets the Base64 encoded artifact.
|
boolean |
equals(java.lang.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() |
java.lang.String |
hexEncode()
Gets the hex encoded artifact.
|
protected void |
setTypeCode(byte[] newTypeCode)
Sets the 2 byte type code for this artifact.
|
java.lang.String |
toString() |
protected AbstractSAMLArtifact(@Nonnull
byte[] code)
code - the artifact type codejava.lang.IllegalArgumentException - thrown if the given type code is not two bytes in length@Nonnull public byte[] getArtifactBytes()
@Nonnull public byte[] getTypeCode()
protected void setTypeCode(@Nonnull
byte[] newTypeCode)
newTypeCode - 2 byte type code for this artifact@Nonnull public abstract byte[] getRemainingArtifact()
@Nonnull @NotEmpty public java.lang.String base64Encode()
@Nonnull @NotEmpty public java.lang.String hexEncode()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object