Raritan PX2/PX3 JSON-RPC API
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Classes | Public Member Functions | List of all members
cert::ServerSSLCert Interface Reference

SSL certificate management interface. More...

import"ServerSSLCert.idl";

Classes

struct  CertInfo
 Certificate information. More...
 
struct  CommonAttributes
 Certificate issuer or subject attributes. More...
 
struct  Info
 Certificate manager information. More...
 
struct  ReqInfo
 Certificate signing request information. More...
 

Public Member Functions

int generateUnsignedKeyPair (in ReqInfo reqInfo, in string challenge)
 Generate an unsigned key pair. More...
 
int generateSelfSignedKeyPair (in ReqInfo reqInfo, in int days)
 Generate a self-signed key pair. More...
 
void deletePending ()
 Remove a pending certificate signing request or certificate.
 
void getInfo (out Info info)
 Retrieve certificate manager information. More...
 
int installPendingKeyPair ()
 Activate a pending key pair. More...
 

Detailed Description

SSL certificate management interface.

Member Function Documentation

int cert::ServerSSLCert::generateSelfSignedKeyPair ( in ReqInfo  reqInfo,
in int  days 
)

Generate a self-signed key pair.

Parameters
reqInfoCertificate signing request information
daysNumber of days the certificate will be valid
Returns
0 if OK
1 if the requested key length is invalid
2 if there is already a pending CSR
3 if the key generation failed
int cert::ServerSSLCert::generateUnsignedKeyPair ( in ReqInfo  reqInfo,
in string  challenge 
)

Generate an unsigned key pair.

Parameters
reqInfoCertificate signing request information
challengeChallenge password
Returns
0 if OK
1 if the requested key length is invalid
2 if there is already a pending CSR
3 if the key generation failed
void cert::ServerSSLCert::getInfo ( out Info  info)

Retrieve certificate manager information.

Parameters
infoResult: Certificate manager information
int cert::ServerSSLCert::installPendingKeyPair ( )

Activate a pending key pair.

Returns
0 if OK
1 if no key is pending
2 if no certificate is pending
3 if the certificate format is invalid
4 if the certificate does not match the key

The documentation for this interface was generated from the following file: