Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: third_party/google-endpoints/pyasn1_modules/rfc3414.py

Issue 2666783008: Add google-endpoints to third_party/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #
2 # SNMPv3 message syntax
3 #
4 # ASN.1 source from:
5 # http://www.ietf.org/rfc/rfc3414.txt
6 #
7 from pyasn1.type import univ, namedtype, namedval, tag, constraint
8
9 class UsmSecurityParameters(univ.Sequence):
10 componentType = namedtype.NamedTypes(
11 namedtype.NamedType('msgAuthoritativeEngineID', univ.OctetString()),
12 namedtype.NamedType('msgAuthoritativeEngineBoots', univ.Integer().subtyp e(subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
13 namedtype.NamedType('msgAuthoritativeEngineTime', univ.Integer().subtype (subtypeSpec=constraint.ValueRangeConstraint(0, 2147483647))),
14 namedtype.NamedType('msgUserName', univ.OctetString().subtype(subtypeSpe c=constraint.ValueSizeConstraint(0, 32))),
15 namedtype.NamedType('msgAuthenticationParameters', univ.OctetString()),
16 namedtype.NamedType('msgPrivacyParameters', univ.OctetString())
17 )
OLDNEW
« no previous file with comments | « third_party/google-endpoints/pyasn1_modules/rfc3412.py ('k') | third_party/google-endpoints/pyasn1_modules/rfc3447.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698