|
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. | |
| int | generateSelfSignedKeyPair (in ReqInfo reqInfo, in int days) |
| Generate a self-signed key pair. | |
| void | deletePending () |
| Remove a pending certificate signing request or certificate. | |
| void | getInfo (out Info info) |
| Retrieve certificate manager information. | |
| int | installPendingKeyPair () |
| Activate a pending key pair. | |
Public Attributes | |
| constant int | SUCCESS = 0 |
| success code | |
| constant int | ERR_GEN_KEY_LEN_INVALID = 100 |
| key-pair generation error codes | |
| constant int | ERR_GEN_CSR_OR_CERT_PENDING = 101 |
| constant int | ERR_GEN_KEY_GEN_FAILED = 102 |
| constant int | ERR_GEN_KEY_TYPE_INVALID = 103 |
| constant int | ERR_GEN_ELLIPTIC_CURVE_INVALID = 104 |
| constant int | ERR_INSTALL_KEY_MISSING = 200 |
| key-pair installation error codes | |
| constant int | ERR_INSTALL_CERT_MISSING = 201 |
| constant int | ERR_INSTALL_CERT_FORMAT_INVALID = 202 |
| constant int | ERR_INSTALL_CERT_KEY_MISMATCH = 203 |
| constant int | ERR_INSTALL_KEY_FORMAT_INVALID = 204 |
TLS certificate management interface.
Definition at line 12 of file ServerSSLCert.idl.
Supported elliptic curves for key type ECDSA.
Definition at line 50 of file ServerSSLCert.idl.
Supported key types.
| Enumerator | |
|---|---|
| KEY_TYPE_UNKNOWN | Key type unknown (only allowed as return value) |
| KEY_TYPE_RSA | RSA key. |
| KEY_TYPE_ECDSA | ECDSA key. |
Definition at line 43 of file ServerSSLCert.idl.
| 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.
| constant int cert::ServerSSLCert::ERR_GEN_CSR_OR_CERT_PENDING = 101 |
Definition at line 19 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_GEN_ELLIPTIC_CURVE_INVALID = 104 |
Definition at line 22 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_GEN_KEY_GEN_FAILED = 102 |
Definition at line 20 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_GEN_KEY_LEN_INVALID = 100 |
key-pair generation error codes
Definition at line 18 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_GEN_KEY_TYPE_INVALID = 103 |
Definition at line 21 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_INSTALL_CERT_FORMAT_INVALID = 202 |
Definition at line 27 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_INSTALL_CERT_KEY_MISMATCH = 203 |
Definition at line 28 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_INSTALL_CERT_MISSING = 201 |
Definition at line 26 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_INSTALL_KEY_FORMAT_INVALID = 204 |
Definition at line 29 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::ERR_INSTALL_KEY_MISSING = 200 |
key-pair installation error codes
Definition at line 25 of file ServerSSLCert.idl.
| constant int cert::ServerSSLCert::SUCCESS = 0 |
success code
Definition at line 15 of file ServerSSLCert.idl.