org.glite.security.delegation
Class DelegationHandler

java.lang.Object
  extended byorg.glite.security.delegation.DelegationHandler

public class DelegationHandler
extends java.lang.Object

The delegation handler class


Constructor Summary
DelegationHandler(java.lang.String certReq, java.lang.String delegationID, java.lang.String propFile)
          Class constructor
 
Method Summary
 java.lang.String getPEMProxyCertificate()
          Return generated proxy certificate in PEM formt
 java.security.cert.X509Certificate[] getProxyCertificate()
          Return generated proxy certificate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegationHandler

public DelegationHandler(java.lang.String certReq,
                         java.lang.String delegationID,
                         java.lang.String propFile)
                  throws java.lang.Exception
Class constructor

Parameters:
certReq - Service certificate request
delegationID - Delegation identifir
propFile - location of properties file
Method Detail

getProxyCertificate

public java.security.cert.X509Certificate[] getProxyCertificate()
                                                         throws java.lang.Exception
Return generated proxy certificate

Returns:
Generated proxy certificate
Throws:
java.lang.Exception

getPEMProxyCertificate

public java.lang.String getPEMProxyCertificate()
Return generated proxy certificate in PEM formt

Returns:
Generated proxy certificate