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(@Nonnull byte[] code)
code
- the artifact type codeIllegalArgumentException
- 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 String base64Encode()
@Nonnull @NotEmpty public String hexEncode()
Copyright © 2016 JBoss by Red Hat. All rights reserved.