|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.common.binding.artifact.AbstractSAMLArtifact
public abstract class AbstractSAMLArtifact
Base class for SAML artifacts.
| Field Summary | |
|---|---|
private byte[] |
typeCode
2 byte artifact type code. |
| Constructor Summary | |
|---|---|
protected |
AbstractSAMLArtifact(byte[] code)
Constructor. |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private byte[] typeCode
| Constructor Detail |
|---|
protected AbstractSAMLArtifact(byte[] code)
code - the artifact type code
IllegalArgumentException - thrown if the given type code is not two bytes in length| Method Detail |
|---|
public byte[] getArtifactBytes()
public byte[] getTypeCode()
protected void setTypeCode(byte[] newTypeCode)
newTypeCode - 2 byte type code for this artifact
IllegalArgumentException - thrown if the given type code is not two bytespublic abstract byte[] getRemainingArtifact()
public String base64Encode()
public String hexEncode()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||