org.opensaml.saml2.binding.artifact
Class SAML2ArtifactType0004Builder

java.lang.Object
  extended by org.opensaml.saml2.binding.artifact.SAML2ArtifactType0004Builder
All Implemented Interfaces:
SAMLArtifactBuilder<SAML2ArtifactType0004>

public class SAML2ArtifactType0004Builder
extends java.lang.Object
implements SAMLArtifactBuilder<SAML2ArtifactType0004>

SAML 2, type 0x0004, artifact builder.


Field Summary
static java.lang.String HASH_ALGORHTM
          Hash algorithm used to construct the source ID.
 
Constructor Summary
SAML2ArtifactType0004Builder()
           
 
Method Summary
 SAML2ArtifactType0004 buildArtifact(byte[] artifact)
          Builds a populated artifact given the artifact's byte-array representation.
 SAML2ArtifactType0004 buildArtifact(java.lang.String relyingParty)
          Builds an empty artifact of a specific type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HASH_ALGORHTM

public static final java.lang.String HASH_ALGORHTM
Hash algorithm used to construct the source ID.

See Also:
Constant Field Values
Constructor Detail

SAML2ArtifactType0004Builder

public SAML2ArtifactType0004Builder()
Method Detail

buildArtifact

public SAML2ArtifactType0004 buildArtifact(java.lang.String relyingParty)
Builds an empty artifact of a specific type.

Specified by:
buildArtifact in interface SAMLArtifactBuilder<SAML2ArtifactType0004>
Parameters:
relyingParty - the relying party the artifact is for
Returns:
the artifact

buildArtifact

public SAML2ArtifactType0004 buildArtifact(byte[] artifact)
Builds a populated artifact given the artifact's byte-array representation.

Specified by:
buildArtifact in interface SAMLArtifactBuilder<SAML2ArtifactType0004>
Parameters:
artifact - the byte representation of the artifact
Returns:
populated artifact