This class implements the voms-proxy-init functionality.
addVomsServer
public void addVomsServer(VOMSServerInfo info)
contactServer
protected VOMSResponse contactServer(VOMSServerInfo sInfo,
VOMSRequestOptions reqOptions)
getDelegationType
public int getDelegationType()
getGridProxy
protected UserCredentials getGridProxy()
getPolicyType
public String getPolicyType()
getProxyKeySize
public int getProxyKeySize()
getProxyLifetime
public int getProxyLifetime()
getProxyOutputFile
public String getProxyOutputFile()
getProxyType
public int getProxyType()
getVomsAC
public AttributeCertificate getVomsAC(VOMSRequestOptions requestOptions)
getVomsData
public String getVomsData(VOMSRequestOptions requestOptions)
getVomsProxy
public UserCredentials getVomsProxy()
getVomsProxy
public UserCredentials getVomsProxy(Collection listOfReqOptions)
getWarnings
public VOMSWarningMessage[] getWarnings()
hasWarnings
public boolean hasWarnings()
instance
public static VOMSProxyInit instance()
instance
public static VOMSProxyInit instance(String privateKeyPassword)
instance
public static VOMSProxyInit instance(UserCredentials credentials)
setDelegationType
public void setDelegationType(int delegationType)
setPolicyType
public void setPolicyType(String policyType)
setProxyKeySize
public void setProxyKeySize(int bits)
setProxyLifetime
public void setProxyLifetime(int proxyLifetime)
setProxyOutputFile
public void setProxyOutputFile(String proxyOutputFile)
setProxyType
public void setProxyType(int proxyType)
validateACs
public void validateACs(List ACs)