summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-04-13 10:29:42 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-04-13 10:29:42 +0000
commita24b1768bd0843514bc3300dca70a2cd575c3131 (patch)
tree4b4b0a83d89bbcfe1d8063073d650791a0a6aee5 /python
parentf1d2812a740a1463bf920e6501e14baafe632aed (diff)
downloadlasso-a24b1768bd0843514bc3300dca70a2cd575c3131.tar.gz
lasso-a24b1768bd0843514bc3300dca70a2cd575c3131.tar.xz
lasso-a24b1768bd0843514bc3300dca70a2cd575c3131.zip
*** empty log message ***
Diffstat (limited to 'python')
-rw-r--r--python/lasso.py9
1 files changed, 8 insertions, 1 deletions
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)