|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xati.API.XRCAClient
public class XRCAClient
Field Summary | |
---|---|
static java.lang.String |
servicename
|
Constructor Summary | |
---|---|
XRCAClient()
|
Method Summary | |
---|---|
static java.lang.Integer |
applyForRegistration()
Obtain or reuse own resource details, and send them to RCA derver for resource registration application. |
static java.lang.Boolean |
createDummyCertificate(ResourceID __dummyResId,
java.lang.String __outputPath)
|
static RCASignedResponse |
getMachineAttributeCertificate(java.lang.String __vo)
Retrieve the machine's attribute certificate. |
static java.lang.String |
getMachineCertificateDetails()
Opens the certificate currently stored locally and signed by RCA, and returns a string containing the details on the certificate. |
static java.security.cert.X509Certificate |
getMachineIdentityCertificate()
Retrieve the node's machine identity certificate. |
static java.lang.Boolean |
requestAttributeCertificate(java.lang.String __vo)
Requests the resource's attribute certificate providing credentials for the given VO from the RCA server. |
static java.lang.Boolean |
requestNewCertificate()
The method generates a new public and private key pair, then sends the public key for certification to the RCA server and obtains the signed attribute certificate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String servicename
Constructor Detail |
---|
public XRCAClient()
Method Detail |
---|
public static java.lang.String getMachineCertificateDetails() throws java.lang.Exception
java.lang.Exception
- Thrown when the certificate reading produces an error,
or the certificate files are in an invalid format.public static java.security.cert.X509Certificate getMachineIdentityCertificate() throws java.lang.Exception
java.lang.Exception
public static RCASignedResponse getMachineAttributeCertificate(java.lang.String __vo) throws java.lang.Exception
vo
- The ID of the VO the call is to retrieve the attribute
certificate of. Use null or an empty string to obtain the non-VO
certificate.
java.lang.Exception
public static java.lang.Boolean requestNewCertificate() throws java.lang.Exception
java.lang.Exception
public static java.lang.Boolean createDummyCertificate(ResourceID __dummyResId, java.lang.String __outputPath) throws java.lang.Exception
java.lang.Exception
public static java.lang.Boolean requestAttributeCertificate(java.lang.String __vo) throws java.lang.Exception
vo
- The VO to request the machine's attribute certificate for.
java.lang.Exception
public static java.lang.Integer applyForRegistration() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |