|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
protected |
AbstractSAMLArtifact(byte[] code)
Constructor. |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSAMLArtifact(byte[] code)
code - the artifact type code
java.lang.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
java.lang.IllegalArgumentException - thrown if the given type code is not two bytespublic abstract byte[] getRemainingArtifact()
public java.lang.String base64Encode()
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||