manpki.api.ca¶
manpki.api.ca¶
CA part API. Accessible by /v1.0/api/ca url
| copyright: |
|
|---|---|
| license: | BSD, see LICENSE for more details. |
Functions
create_ca() |
Create a CA |
delete_ca() |
|
get_caparam(param) |
Get specifed or all parameter of the CA |
register_subca(digest, cert) |
|
set_ca() |
Set parameter to the CA |
show_ca() |
Show CA Information |
Classes
API |
|
CAParameter(*args, **kwargs) |
|
SSL |
-
manpki.api.ca.create_ca()¶ Create a CA
Param: force if present force the creation of the ca even if already exist Shell: create Context: ca Returns: json info about the new ca
-
manpki.api.ca.get_caparam(param)¶ Get specifed or all parameter of the CA
Returns: json info about parameters of the ca
-
manpki.api.ca.set_ca()¶ Set parameter to the CA
Returns: boolean if parameter are correctly set
-
manpki.api.ca.show_ca()¶ Show CA Information
Shell: show ca Context: None Returns: ca information