Browse Source

implement drop request command for shell

master
Edoardo Putti 8 years ago
parent
commit
bbcb61090d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      ca_shell.py

+ 6
- 0
ca_shell.py View File

@ -35,6 +35,12 @@ class CAManagerShell(cmd.Cmd, object):
'Show certification authority information: DESCRIBE_CAS'
raise NotImplementedError
def do_drop_request(self, l):
'Delete a sign request: DROP_REQUEST'
request_id = l.split()[0]
del self.ca_manager.request[request_id]
def do_gen_ca(self, l):
'Generate a certification authority: GEN_CA type id name'
argv = l.split()


Loading…
Cancel
Save