Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
TLS certificate management interface. More...
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 Types | |
enum | KeyType { KEY_TYPE_UNKNOWN , KEY_TYPE_RSA , KEY_TYPE_ECDSA } |
Supported key types. More... | |
enum | EllipticCurve { EC_CURVE_UNKNOWN , EC_CURVE_NIST_P256 , EC_CURVE_NIST_P384 , EC_CURVE_NIST_P521 } |
Supported elliptic curves for key type ECDSA. 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... | |
TLS certificate management interface.
Supported elliptic curves for key type ECDSA.
int cert::ServerSSLCert::generateSelfSignedKeyPair | ( | in ReqInfo | reqInfo, |
in int | days | ||
) |
Generate a self-signed key pair.
reqInfo | Certificate signing request information |
days | Number of days the certificate will be valid |
int cert::ServerSSLCert::generateUnsignedKeyPair | ( | in ReqInfo | reqInfo, |
in string | challenge | ||
) |
Generate an unsigned key pair.
reqInfo | Certificate signing request information |
challenge | Challenge password |
void cert::ServerSSLCert::getInfo | ( | out Info | info | ) |
Retrieve certificate manager information.
info | Result: Certificate manager information |
int cert::ServerSSLCert::installPendingKeyPair | ( | ) |
Activate a pending key pair.