org.glite.security.delegation.storage
Class GrDPStorageCacheElement

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

public class GrDPStorageCacheElement
extends java.lang.Object

Representation of a delegation request entry in storage cache.

A delegation request entry in storage cache contains the following properties:


Constructor Summary
GrDPStorageCacheElement()
           
 
Method Summary
 java.lang.String getCertificateRequest()
          Retrieves the delegated proxy request.
 java.lang.String getDelegationID()
          Retrieves the delegation id of the delegation request.
 java.lang.String getDN()
          Retrieves the dn of the owner of the delegation request.
 java.lang.String getDNasX500()
          Retrieves the dn of the owner of the delegated proxy in X500 format.
 java.lang.String getPrivateKey()
          Retrieves the private key associated with the delegation request.
 java.lang.String[] getVomsAttributes()
          Retrieves the list of voms attributes to be contained in the delegated proxy.
 void setCertificateRequest(java.lang.String certificate)
          Sets the delegated proxy (credential) request.
 void setDelegationID(java.lang.String delegationID)
          Sets the delegation id of the delegation request.
 void setDN(java.lang.String dn)
          Sets the dn associated with the delegation request.
 void setDNasX500(java.lang.String dn)
          Set the DN associated of the owner of the delegated proxy from X500 format.
 void setPrivateKey(java.lang.String privateKey)
          Sets the private key associated with the delegation request.
 void setVomsAttributes(java.lang.String[] vomsAttributes)
          Sets the list of voms attributes to be contained inside the delegated proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrDPStorageCacheElement

public GrDPStorageCacheElement()
Method Detail

getDelegationID

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

Returns:
The delegation id of the delegation request.

getDN

public java.lang.String getDN()
Retrieves the dn of the owner of the delegation request.

Returns:
The dn of the owner of the delegation request.

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 to be contained in the delegated proxy.

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

getCertificateRequest

public java.lang.String getCertificateRequest()
Retrieves the delegated proxy request.

Returns:
The delegated proxy request.

getPrivateKey

public java.lang.String getPrivateKey()
Retrieves the private key associated with the delegation request.

Returns:
The private key associated with the delegation request.

setDelegationID

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

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

setDN

public void setDN(java.lang.String dn)
Sets the dn associated with the delegation request.

Parameters:
dn - The dn to be associated with the delegation request.

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 to be contained inside the delegated proxy.

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

setCertificateRequest

public void setCertificateRequest(java.lang.String certificate)
Sets the delegated proxy (credential) request.

Parameters:
certificate - The delegated proxy (credential) request.

setPrivateKey

public void setPrivateKey(java.lang.String privateKey)
Sets the private key associated with the delegation request.

Parameters:
privateKey - The private key associated with the delegation request.


Copyright © 2004-2008. EU-EGEE