Module cellar_pkcs8::der[][src]

Building blocks for parsing DER-encoded ASN.1 structures.

This module contains the foundational parts of an ASN.1 DER parser.

Enums

Tag

Constants

CONSTRUCTED
CONTEXT_SPECIFIC

Functions

bit_string_with_no_unused_bits
expect_tag_and_get_value
nested
positive_integer

Parses a positive DER integer, returning the big-endian-encoded value, sans any leading zero byte.

read_tag_and_get_value
small_nonnegative_integer

Parse as integer with a value in the in the range [0, 255], returning its numeric value. This is typically used for parsing version numbers.