diff options
Diffstat (limited to 'wrappers/swig/tests/pubkey.py')
-rw-r--r-- | wrappers/swig/tests/pubkey.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wrappers/swig/tests/pubkey.py b/wrappers/swig/tests/pubkey.py new file mode 100644 index 000000000..456c52069 --- /dev/null +++ b/wrappers/swig/tests/pubkey.py @@ -0,0 +1,10 @@ +#!/usr/bin/python + +import botan + +key = botan.X509_PublicKey("rsapub.pem") +print key +print key.key_id() +print key.max_input_bits +print key.algo +print key.oid |