From a24b1768bd0843514bc3300dca70a2cd575c3131 Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Tue, 13 Apr 2004 10:29:42 +0000 Subject: *** empty log message *** --- python/lasso.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/lasso.py b/python/lasso.py index 76647328..baff0ea8 100644 --- a/python/lasso.py +++ b/python/lasso.py @@ -34,13 +34,14 @@ class Error(Exception): self.msg = msg def __str__(self): return repr(self.msg) - + def init(): """ """ return lassomod.init() def shutdown(): """ + Shutdown Lasso Library """ return lassomod.shutdown() @@ -181,5 +182,11 @@ class Node: lassomod.node_dump(self, encoding, format) def destroy(self): lassomod.node_unref(self) + def get_attr_value(self, name): + return lassomod.node_get_attr_value(self, name) + def get_child(self, name): + return Node(_obj=lassomod.node_get_child(self, name)) def url_encode(self, sign_method, private_key_file): return lassomod.node_url_encode(self, sign_method, private_key_file) + def verify_signature(self, certificate_file): + return lassomod.node_verify_signature(self, certificate_file) -- cgit