aboutsummaryrefslogtreecommitdiffstats
path: root/wrappers/swig/tests/pubkey.py
blob: 456c520693e12b3038f57a496ff96d18b25c5d2f (plain)
1
2
3
4
5
6
7
8
9
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