/usr/share/doc/python-pskc-doc/html/exceptions.html is in python-pskc-doc 1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Exceptions — python-pskc 1.0 documentation</title>
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex" />
<link rel="search" title="Search" href="search" />
<link rel="next" title="Changes in python-pskc" href="changes" />
<link rel="prev" title="Key usage policy" href="policy" />
</head>
<body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="changes" title="Changes in python-pskc"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="policy" title="Key usage policy"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index">python-pskc 1.0 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="exceptions">
<h1>Exceptions<a class="headerlink" href="#exceptions" title="Permalink to this headline">¶</a></h1>
<p>The module and parser will try to interpret any provided PSKC files and will
only raise exceptions on wildly invalid PSKC files.</p>
<span class="target" id="module-pskc.exceptions"></span><dl class="exception">
<dt id="pskc.exceptions.PSKCError">
<em class="property">exception </em><code class="descclassname">pskc.exceptions.</code><code class="descname">PSKCError</code><a class="headerlink" href="#pskc.exceptions.PSKCError" title="Permalink to this definition">¶</a></dt>
<dd><p>The base class for all exceptions that the module will raise. In some
cases third-party code may raise additional exceptions.</p>
</dd></dl>
<dl class="exception">
<dt id="pskc.exceptions.ParseError">
<em class="property">exception </em><code class="descclassname">pskc.exceptions.</code><code class="descname">ParseError</code><a class="headerlink" href="#pskc.exceptions.ParseError" title="Permalink to this definition">¶</a></dt>
<dd><p>Raised when the PSKC file cannot be correctly read due to invalid XML or
some required element or attribute is missing. This exception should only
be raised when parsing the file (i.e. when the <a class="reference internal" href="usage#pskc.PSKC" title="pskc.PSKC"><code class="xref py py-class docutils literal"><span class="pre">PSKC</span></code></a> class is
instantiated).</p>
</dd></dl>
<dl class="exception">
<dt id="pskc.exceptions.DecryptionError">
<em class="property">exception </em><code class="descclassname">pskc.exceptions.</code><code class="descname">DecryptionError</code><a class="headerlink" href="#pskc.exceptions.DecryptionError" title="Permalink to this definition">¶</a></dt>
<dd><p>Raised when decrypting a value fails due to missing or incorrect key,
unsupported decryption or MAC algorithm, failed message authentication
check or other error.</p>
<p>This exception is generally raised when accessing encrypted information
(i.e. the <a class="reference internal" href="usage#pskc.key.Key.secret" title="pskc.key.Key.secret"><code class="xref py py-attr docutils literal"><span class="pre">secret</span></code></a>, <a class="reference internal" href="usage#pskc.key.Key.counter" title="pskc.key.Key.counter"><code class="xref py py-attr docutils literal"><span class="pre">counter</span></code></a>,
<a class="reference internal" href="usage#pskc.key.Key.time_offset" title="pskc.key.Key.time_offset"><code class="xref py py-attr docutils literal"><span class="pre">time_offset</span></code></a>, <a class="reference internal" href="usage#pskc.key.Key.time_interval" title="pskc.key.Key.time_interval"><code class="xref py py-attr docutils literal"><span class="pre">time_interval</span></code></a> or
<a class="reference internal" href="usage#pskc.key.Key.time_drift" title="pskc.key.Key.time_drift"><code class="xref py py-attr docutils literal"><span class="pre">time_drift</span></code></a> attributes of the <a class="reference internal" href="usage#pskc.key.Key" title="pskc.key.Key"><code class="xref py py-class docutils literal"><span class="pre">Key</span></code></a>
class).</p>
</dd></dl>
<dl class="exception">
<dt id="pskc.exceptions.KeyDerivationError">
<em class="property">exception </em><code class="descclassname">pskc.exceptions.</code><code class="descname">KeyDerivationError</code><a class="headerlink" href="#pskc.exceptions.KeyDerivationError" title="Permalink to this definition">¶</a></dt>
<dd><p>Raised when key derivation fails due to an unsupported algorithm or
missing information in the PSKC file.</p>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="policy"
title="previous chapter">Key usage policy</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="changes"
title="next chapter">Changes in python-pskc</a></p>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="changes" title="Changes in python-pskc"
>next</a> |</li>
<li class="right" >
<a href="policy" title="Key usage policy"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index">python-pskc 1.0 documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2014-2017 Arthur de Jong.
Last updated on 2017-12-31.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
</div>
</body>
</html>
|