Source code for pyndn.encoding.der.der

# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
# Copyright (C) 2014-2016 Regents of the University of California.
# Author: Adeola Bannis <thecodemaiden@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
# A copy of the GNU Lesser General Public License is in the file COPYING.

"""
This module defines the Der object with known DER node types.
"""
[docs]class Der(object): Eoc = 0 Boolean = 1 Integer = 2 BitString = 3 OctetString = 4 Null = 5 ObjectIdentifier = 6 ObjectDescriptor = 7 External = 40 Real = 9 Enumerated = 10 EmbeddedPdv = 43 Utf8String = 12 RelativeOid = 13 Sequence = 48 Set = 49 NumericString = 18 PrintableString = 19 T61String = 20 VideoTexString = 21 Ia5String = 22 UtcTime = 23 GeneralizedTime = 24 GraphicString = 25 VisibleString = 26 GeneralString = 27 UniversalString = 28 CharacterString = 29 BmpString = 30