org.glite.security.util.proxy
Class SAMLExtension

java.lang.Object
  extended by org.glite.security.util.proxy.SAMLExtension

public class SAMLExtension
extends java.lang.Object

A class for handling the SAML extension in the Certificate.

Author:
joni.hahkala@cern.ch

Field Summary
static java.lang.String LEGACY_SAML_OID
          The legacy OID for the SAML assertion.
static java.lang.String SAML_OID
          The OID for the SAML assertion.
 
Constructor Summary
SAMLExtension(byte[] bytes)
          Generates a new SAMLExtension object form the byte array
SAMLExtension(java.lang.String samlString)
          Used to generate an instance form the SAML assertion in String format.
 
Method Summary
 java.lang.String getSAML()
          Used to get the SAML assertion in String format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAML_OID

public static final java.lang.String SAML_OID
The OID for the SAML assertion.

See Also:
Constant Field Values

LEGACY_SAML_OID

public static final java.lang.String LEGACY_SAML_OID
The legacy OID for the SAML assertion.

See Also:
Constant Field Values
Constructor Detail

SAMLExtension

public SAMLExtension(byte[] bytes)
              throws java.io.IOException
Generates a new SAMLExtension object form the byte array

Parameters:
bytes -
Throws:
java.io.IOException

SAMLExtension

public SAMLExtension(java.lang.String samlString)
Used to generate an instance form the SAML assertion in String format.

Parameters:
samlString -
Method Detail

getSAML

public java.lang.String getSAML()
Used to get the SAML assertion in String format.

Returns:
The SAML sertion in string format.