This file is indexed.

/usr/share/doc/libghc-asn1-data-doc/html/Data-ASN1-Encoding.html is in libghc-asn1-data-doc 0.7.1-8build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
<!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>Data.ASN1.Encoding</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-ASN1-Encoding.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-ASN1-Encoding.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">asn1-data-0.7.1: ASN1 data reader and writer in RAW, BER and DER forms</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>License</th><td>BSD-style</td></tr><tr><th>Maintainer</th><td>Vincent Hanquez &lt;vincent@snarc.org&gt;</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>unknown</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.ASN1.Encoding</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">generic class for decoding and encoding stream</a></li><li><a href="#g:2">strict bytestring version</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">class</span> <a href="#t:ASN1Decoding">ASN1Decoding</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:decodeASN1">decodeASN1</a> :: a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>]</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:ASN1DecodingRepr">ASN1DecodingRepr</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:decodeASN1Repr">decodeASN1Repr</a> :: a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1Repr">ASN1Repr</a>]</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:ASN1Encoding">ASN1Encoding</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:encodeASN1">encodeASN1</a> :: a -&gt; [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li></ul></li><li class="src short"><a href="#v:decodeASN1-39-">decodeASN1'</a> :: <a href="Data-ASN1-Encoding.html#t:ASN1Decoding">ASN1Decoding</a> a =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>]</li><li class="src short"><a href="#v:decodeASN1Repr-39-">decodeASN1Repr'</a> :: <a href="Data-ASN1-Encoding.html#t:ASN1DecodingRepr">ASN1DecodingRepr</a> a =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1Repr">ASN1Repr</a>]</li><li class="src short"><a href="#v:encodeASN1-39-">encodeASN1'</a> :: <a href="Data-ASN1-Encoding.html#t:ASN1Encoding">ASN1Encoding</a> a =&gt; a -&gt; [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li></ul></div><div id="interface"><h1 id="g:1">generic class for decoding and encoding stream</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:ASN1Decoding" class="def">ASN1Decoding</a> a <span class="keyword">where</span> <a href="src/Data-ASN1-Encoding.html#ASN1Decoding" class="link">Source</a></p><div class="doc"><p>Describe an ASN1 decoding, that transform a bytestream into an asn1stream</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:decodeASN1" class="def">decodeASN1</a> :: a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>] <a href="src/Data-ASN1-Encoding.html#decodeASN1" class="link">Source</a></p><div class="doc"><p>decode a lazy bytestring into an ASN1 stream</p></div></div><div class="subs instances"><p id="control.i:ASN1Decoding" class="caption collapser" onclick="toggleSection('i:ASN1Decoding')">Instances</p><div id="section.i:ASN1Decoding" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Data-ASN1-Encoding.html#t:ASN1Decoding">ASN1Decoding</a> <a href="Data-ASN1-BinaryEncoding.html#t:DER">DER</a></span> <a href="src/Data-ASN1-Encoding.html#line-39" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Data-ASN1-Encoding.html#t:ASN1Decoding">ASN1Decoding</a> <a href="Data-ASN1-BinaryEncoding.html#t:BER">BER</a></span> <a href="src/Data-ASN1-Encoding.html#line-33" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:ASN1DecodingRepr" class="def">ASN1DecodingRepr</a> a <span class="keyword">where</span> <a href="src/Data-ASN1-Encoding.html#ASN1DecodingRepr" class="link">Source</a></p><div class="doc"><p>transition class.</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:decodeASN1Repr" class="def">decodeASN1Repr</a> :: a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1Repr">ASN1Repr</a>] <a href="src/Data-ASN1-Encoding.html#decodeASN1Repr" class="link">Source</a></p><div class="doc"><p>decode a lazy bytestring into an ASN1 stream</p></div></div><div class="subs instances"><p id="control.i:ASN1DecodingRepr" class="caption collapser" onclick="toggleSection('i:ASN1DecodingRepr')">Instances</p><div id="section.i:ASN1DecodingRepr" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Data-ASN1-Encoding.html#t:ASN1DecodingRepr">ASN1DecodingRepr</a> <a href="Data-ASN1-BinaryEncoding.html#t:DER">DER</a></span> <a href="src/Data-ASN1-Encoding.html#line-36" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Data-ASN1-Encoding.html#t:ASN1DecodingRepr">ASN1DecodingRepr</a> <a href="Data-ASN1-BinaryEncoding.html#t:BER">BER</a></span> <a href="src/Data-ASN1-Encoding.html#line-30" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:ASN1Encoding" class="def">ASN1Encoding</a> a <span class="keyword">where</span> <a href="src/Data-ASN1-Encoding.html#ASN1Encoding" class="link">Source</a></p><div class="doc"><p>Describe an ASN1 encoding, that transform an asn1stream into a bytestream</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:encodeASN1" class="def">encodeASN1</a> :: a -&gt; [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> <a href="src/Data-ASN1-Encoding.html#encodeASN1" class="link">Source</a></p><div class="doc"><p>encode a stream into a lazy bytestring</p></div></div><div class="subs instances"><p id="control.i:ASN1Encoding" class="caption collapser" onclick="toggleSection('i:ASN1Encoding')">Instances</p><div id="section.i:ASN1Encoding" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Data-ASN1-Encoding.html#t:ASN1Encoding">ASN1Encoding</a> <a href="Data-ASN1-BinaryEncoding.html#t:DER">DER</a></span> <a href="src/Data-ASN1-Encoding.html#line-42" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">strict bytestring version</h1><div class="top"><p class="src"><a name="v:decodeASN1-39-" class="def">decodeASN1'</a> :: <a href="Data-ASN1-Encoding.html#t:ASN1Decoding">ASN1Decoding</a> a =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>] <a href="src/Data-ASN1-Encoding.html#decodeASN1%27" class="link">Source</a></p><div class="doc"><p>decode a strict bytestring into an ASN1 stream</p></div></div><div class="top"><p class="src"><a name="v:decodeASN1Repr-39-" class="def">decodeASN1Repr'</a> :: <a href="Data-ASN1-Encoding.html#t:ASN1DecodingRepr">ASN1DecodingRepr</a> a =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Data-ASN1-Types.html#t:ASN1Error">ASN1Error</a> [<a href="Data-ASN1-Stream.html#t:ASN1Repr">ASN1Repr</a>] <a href="src/Data-ASN1-Encoding.html#decodeASN1Repr%27" class="link">Source</a></p><div class="doc"><p>decode a strict bytestring into an ASN1Repr stream</p></div></div><div class="top"><p class="src"><a name="v:encodeASN1-39-" class="def">encodeASN1'</a> :: <a href="Data-ASN1-Encoding.html#t:ASN1Encoding">ASN1Encoding</a> a =&gt; a -&gt; [<a href="Data-ASN1-Stream.html#t:ASN1">ASN1</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Data-ASN1-Encoding.html#encodeASN1%27" class="link">Source</a></p><div class="doc"><p>encode a stream into a strict bytestring</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>