MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / getTypeId

Method getTypeId

pager_lib/pyasn1/type/base.py:20–25  ·  view source on GitHub ↗
(cls, increment=1)

Source from the content-addressed store, hash-verified

18class Asn1Item(object):
19 @classmethod
20 def getTypeId(cls, increment=1):
21 try:
22 Asn1Item._typeCounter += increment
23 except AttributeError:
24 Asn1Item._typeCounter = increment
25 return Asn1Item._typeCounter
26
27
28class Asn1Type(Asn1Item):

Callers 15

ObjectDescriptorClass · 0.80
GeneralizedTimeClass · 0.80
UTCTimeClass · 0.80
IntegerClass · 0.80
BooleanClass · 0.80
BitStringClass · 0.80
OctetStringClass · 0.80
NullClass · 0.80
ObjectIdentifierClass · 0.80
RelativeOIDClass · 0.80
RealClass · 0.80
EnumeratedClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected