libowfat_scan_asn1derlength man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

scan_asn1derlength(3)					 scan_asn1derlength(3)

NAME
       scan_asn1derlength  -  decode an unsigned integer from ASN.1 DER length
       encoding

SYNTAX
       #include <scan.h>

       size_t scan_asn1derlength(const char *src,size_t len,unsigned long long
       *dest);

DESCRIPTION
       scan_asn1derlength  decodes  an	unsigned  integer  in ASN.1 DER length
       encoding from a memory area holding binary data.	 It writes the	decode
       value in dest and returns the number of bytes it read from src.

       scan_asn1derlength  never  reads	 more than len bytes from src.	If the
       sequence is longer than that, or the memory area	 contains  an  invalid
       sequence, scan_asn1derlength returns 0 and does not touch dest.

       The  length  of the longest ASN.1 DER length sequence is 128 bytes.  In
       practice the largest sequence is sizeof(*dest)+1.

SEE ALSO
       fmt_asn1derlength(3)

							 scan_asn1derlength(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net