SSL certificate management interface.
More...
import"ServerSSLCert.idl";
SSL certificate management interface.
◆ generateSelfSignedKeyPair()
int cert::ServerSSLCert::generateSelfSignedKeyPair |
( |
in ReqInfo |
reqInfo, |
|
|
in int |
days |
|
) |
| |
Generate a self-signed key pair.
- Parameters
-
reqInfo | Certificate signing request information |
days | Number 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
◆ generateUnsignedKeyPair()
int cert::ServerSSLCert::generateUnsignedKeyPair |
( |
in ReqInfo |
reqInfo, |
|
|
in string |
challenge |
|
) |
| |
Generate an unsigned key pair.
- Parameters
-
reqInfo | Certificate signing request information |
challenge | Challenge 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
◆ getInfo()
void cert::ServerSSLCert::getInfo |
( |
out Info |
info | ) |
|
Retrieve certificate manager information.
- Parameters
-
info | Result: Certificate manager information |
◆ installPendingKeyPair()
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: