org.glite.security.delegation.storage
Class GrDPStorageElement

java.lang.Object
  extended by org.glite.security.delegation.storage.GrDPStorageElement

public class GrDPStorageElement
extends java.lang.Object

Representation of a delegated proxy entry in storage.

A delegated proxy entry in storage contains the following properties:


Constructor Summary
GrDPStorageElement()
           
 
Method Summary
 java.lang.String getCertificate()
          Retrieves the delegated proxy, including its private key.
 java.lang.String getDelegationID()
          Retrieves the delegation id of the delegated proxy.
 java.lang.String getDN()
          Retrieves the dn of the owner of the delegated proxy.
 java.lang.String getDNasX500()
          Retrieves the dn of the owner of the delegated proxy in X500 format.
 java.util.Date getTerminationTime()
          Retrieves the termination time of the delegated proxy.
 java.lang.String[] getVomsAttributes()
          Retrieves the list of voms attributes contained in the delegated proxy.
 void setCertificate(java.lang.String certificate)
          Sets the delegated proxy.
 void setDelegationID(java.lang.String delegationID)
          Sets the delegation id of the delegated proxy.
 void setDN(java.lang.String dn)
          Sets the dn associated with the delegated proxy.
 void setDNasX500(java.lang.String dn)
          Set the DN associated of the owner of the delegated proxy from X500 format.
 void setTerminationTime(java.util.Date terminationTime)
          Sets the termination time of the delegated proxy.
 void setVomsAttributes(java.lang.String[] vomsAttributes)
          Sets the list of voms attributes inside the delegated proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrDPStorageElement

public GrDPStorageElement()
Method Detail

getDelegationID

public java.lang.String getDelegationID()
Retrieves the delegation id of the delegated proxy.

Returns:
The delegation id of the delegated proxy.

getDN

public java.lang.String getDN()
Retrieves the dn of the owner of the delegated proxy.

Returns:
The dn of the owner of the delegated proxy.

getDNasX500

public java.lang.String getDNasX500()
Retrieves the dn of the owner of the delegated proxy in X500 format.

Returns:
The DN in X500 format.

getVomsAttributes

public java.lang.String[] getVomsAttributes()
Retrieves the list of voms attributes contained in the delegated proxy.

Returns:
The list of voms attributes in the delegated proxy.

getCertificate

public java.lang.String getCertificate()
Retrieves the delegated proxy, including its private key.

Returns:
The delegated proxy.

getTerminationTime

public java.util.Date getTerminationTime()
Retrieves the termination time of the delegated proxy.

Returns:
The termination time of the delegated proxy.

setDelegationID

public void setDelegationID(java.lang.String delegationID)
Sets the delegation id of the delegated proxy.

Parameters:
delegationID - The delegation id to be assigned to the delegated proxy.

setDN

public void setDN(java.lang.String dn)
Sets the dn associated with the delegated proxy.

Parameters:
dn - The dn to be associated with the delegated proxy.

setDNasX500

public void setDNasX500(java.lang.String dn)
Set the DN associated of the owner of the delegated proxy from X500 format.

Parameters:
dn - The DN in X500 format.

setVomsAttributes

public void setVomsAttributes(java.lang.String[] vomsAttributes)
Sets the list of voms attributes inside the delegated proxy.

Parameters:
vomsAttributes - The list of voms attributes inside the delegated proxy.

setCertificate

public void setCertificate(java.lang.String certificate)
Sets the delegated proxy.

Parameters:
certificate - The delegated proxy.

setTerminationTime

public void setTerminationTime(java.util.Date terminationTime)
Sets the termination time of the delegated proxy.

Parameters:
terminationTime - The termination time of the delegated proxy.


Copyright © 2004-2008. EU-EGEE