Lines Matching refs:univ
7 from pyasn1.type import univ, namedtype, namedval, tag, constraint
10 class ScopedPDU(univ.Sequence):
12 namedtype.NamedType('contextEngineId', univ.OctetString()),
13 namedtype.NamedType('contextName', univ.OctetString()),
17 class ScopedPduData(univ.Choice):
20 namedtype.NamedType('encryptedPDU', univ.OctetString()),
23 class HeaderData(univ.Sequence):
25 namedtype.NamedType('msgID', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
26 namedtype.NamedType('msgMaxSize', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(484, 2147483647))),
27 namedtype.NamedType('msgFlags', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, 1))),
28 namedtype.NamedType('msgSecurityModel', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(1, 2147483647)))
31 class SNMPv3Message(univ.Sequence):
33 namedtype.NamedType('msgVersion', univ.Integer().subtype(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
35 namedtype.NamedType('msgSecurityParameters', univ.OctetString()),