Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pskc/policy.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactor out some functions to parseArthur de Jong2014-06-151-10/+6
| | | | | This introduces the getint() and getbool() functions in parse to avoid some code duplication.
* Have parse module provide find() functionsArthur de Jong2014-06-141-9/+7
| | | | | | | | This changes the parse module functions to better match the ElementTree API and extends it with findint(), findtime() and findbin(). It also passes the namespaces to all calls that require it without duplicating this throughout the normal code.
* Use get() instead of attrib.get() (shorter)Arthur de Jong2014-06-141-12/+12
|
* Add missing policy constantArthur de Jong2014-05-191-0/+3
|
* Complete pskc.policy docstringsArthur de Jong2014-04-191-2/+4
| | | | Also contains small consistency improvement.
* Move Key class to separate moduleArthur de Jong2014-04-191-2/+3
| | | | This also allows re-organising the imports a bit.
* Document key and pin usage valuesArthur de Jong2014-04-111-0/+42
|
* Implement key policy parsingArthur de Jong2014-04-111-0/+116
This parses key policy from PSKC files and provides a few utility methods to help with policy validation.