public abstract class AbstractSAMLArtifact extends Object
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(byte[] code)
code
- the artifact type codeIllegalArgumentException
- thrown if the given type code is not two bytes in lengthpublic byte[] getArtifactBytes()
public byte[] getTypeCode()
protected void setTypeCode(byte[] newTypeCode)
newTypeCode
- 2 byte type code for this artifactIllegalArgumentException
- thrown if the given type code is not two bytespublic abstract byte[] getRemainingArtifact()
public String base64Encode()
public String hexEncode()
Copyright © 2018 JBoss by Red Hat. All rights reserved.