Home
last modified time | relevance | path

Searched refs:OctetString (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/type/
Dchar.py4 class UTF8String(univ.OctetString):
5 tagSet = univ.OctetString.tagSet.tagImplicitly(
10 class NumericString(univ.OctetString):
11 tagSet = univ.OctetString.tagSet.tagImplicitly(
15 class PrintableString(univ.OctetString):
16 tagSet = univ.OctetString.tagSet.tagImplicitly(
20 class TeletexString(univ.OctetString):
21 tagSet = univ.OctetString.tagSet.tagImplicitly(
26 class VideotexString(univ.OctetString):
27 tagSet = univ.OctetString.tagSet.tagImplicitly(
[all …]
Duniv.py263 class OctetString(base.AbstractSimpleAsn1Item): class
320 elif isinstance(value, OctetString):
423 class Null(OctetString):
428 subtypeSpec = OctetString.subtypeSpec+constraint.SingleValueConstraint(''.encode())
1030 class Any(OctetString):
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/type/
Dtest_univ.py110 assert univ.OctetString(str2octs('abcd')) == str2octs('abcd'), '__init__() fails'
112 …assert univ.OctetString(binValue="1000010111101110101111000000111011") == ints2octs((133, 238, 188…
114 …assert univ.OctetString(hexValue="FA9823C43E43510DE3422") == ints2octs((250, 152, 35, 196, 62, 67,…
116 assert univ.OctetString((1,2,3,4,5)) == ints2octs((1,2,3,4,5)), 'tuple init failed'
118 assert str(univ.OctetString('q')) == 'q', '__str__() fails'
120 assert univ.OctetString('q')[0] == str2octs('q')[0],'__getitem__() fails'
122 assert univ.OctetString('abcd').asOctets() == str2octs('abcd'), 'testAsOctets() fails'
124 assert univ.OctetString('abcd').asNumbers() == (97, 98, 99, 100), 'testAsNumbers() fails'
128 str(univ.OctetString())
135 assert univ.OctetString('') + 'q' == str2octs('q'), '__add__() fails'
[all …]
Dtest_namedtype.py23 namedtype.NamedType('first-name', univ.OctetString('')),
25 namedtype.NamedType('family-name', univ.OctetString(''))
34 assert self.e.getTypeByPosition(0) == univ.OctetString(''), \
47 univ.OctetString.tagSet: univ.OctetString('')
51 univ.OctetString.tagSet: univ.OctetString('')
54 univ.OctetString.tagSet: univ.OctetString('')
59 univ.OctetString.tagSet: univ.OctetString(''),
72 assert self.e.getPositionNearType(univ.OctetString.tagSet, 0) == 0
74 assert self.e.getPositionNearType(univ.OctetString.tagSet, 2) == 2
79 namedtype.NamedType('first-name', univ.OctetString('')),
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
Drfc1902.py19 class OctetString(univ.OctetString): class
24 class IpAddress(univ.OctetString):
25 tagSet = univ.OctetString.tagSet.tagImplicitly(
28 subtypeSpec = univ.OctetString.subtypeSpec+constraint.ValueSizeConstraint(
64 class Opaque(univ.OctetString):
65 tagSet = univ.OctetString.tagSet.tagImplicitly(
77 class Bits(univ.OctetString): pass
84 namedtype.NamedType('string-value', OctetString()),
Drfc3412.py12 namedtype.NamedType('contextEngineId', univ.OctetString()),
13 namedtype.NamedType('contextName', univ.OctetString()),
20 namedtype.NamedType('encryptedPDU', univ.OctetString()),
27 …namedtype.NamedType('msgFlags', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeConstra…
35 namedtype.NamedType('msgSecurityParameters', univ.OctetString()),
Drfc3414.py11 namedtype.NamedType('msgAuthoritativeEngineID', univ.OctetString()),
14 …namedtype.NamedType('msgUserName', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeCons…
15 namedtype.NamedType('msgAuthenticationParameters', univ.OctetString()),
16 namedtype.NamedType('msgPrivacyParameters', univ.OctetString())
Drfc1155.py17 namedtype.NamedType('string', univ.OctetString()),
22 class IpAddress(univ.OctetString):
23 tagSet = univ.OctetString.tagSet.tagImplicitly(
55 class Opaque(univ.OctetString):
56 tagSet = univ.OctetString.tagSet.tagImplicitly(
Drfc2251.py15 class LDAPString(univ.OctetString): pass
16 class LDAPOID(univ.OctetString): pass
26 class AttributeValue(univ.OctetString): pass
28 class AssertionValue(univ.OctetString): pass
48 namedtype.OptionalNamedType('controlValue', univ.OctetString())
62 namedtype.OptionalNamedType('credentials', univ.OctetString())
67 …namedtype.NamedType('simple', univ.OctetString().subtype(implicitTag=tag.Tag(tag.tagClassContext, …
68 …namedtype.NamedType('reserved-1', univ.OctetString().subtype(implicitTag=tag.Tag(tag.tagClassConte…
69 …namedtype.NamedType('reserved-2', univ.OctetString().subtype(implicitTag=tag.Tag(tag.tagClassConte…
181 …namedtype.OptionalNamedType('serverSaslCreds', univ.OctetString().subtype(implicitTag=tag.Tag(tag.…
[all …]
Drfc4210.py11 class KeyIdentifier(univ.OctetString): pass
158 namedtype.NamedType('witness', univ.OctetString()),
159 namedtype.NamedType('challenge', univ.OctetString())
284 namedtype.NamedType('certHash', univ.OctetString()),
383 namedtype.OptionalNamedType('rspInfo', univ.OctetString())
465 namedtype.NamedType('salt', univ.OctetString().subtype(
636 …namedtype.OptionalNamedType('transactionID', univ.OctetString().subtype(explicitTag=tag.Tag(tag.ta…
637 …namedtype.OptionalNamedType('senderNonce', univ.OctetString().subtype(explicitTag=tag.Tag(tag.tagC…
638 …namedtype.OptionalNamedType('recipNonce', univ.OctetString().subtype(explicitTag=tag.Tag(tag.tagCl…
Drfc2560.py44 class GeneralName(univ.OctetString): pass
74 namedtype.NamedType('issuerNameHash', univ.OctetString()),
75 namedtype.NamedType('issuerKeyHash', univ.OctetString()),
95 class KeyHash(univ.OctetString): pass
126 namedtype.NamedType('response', univ.OctetString())
Drfc2315.py37 class EncryptedContent(univ.OctetString): pass
59 class Digest(univ.OctetString): pass
83 class EncryptedKey(univ.OctetString): pass
155 class EncryptedDigest(univ.OctetString): pass
205 class Data(univ.OctetString): pass
Drfc5208.py17 class EncryptedData(univ.OctetString): pass
25 class PrivateKey(univ.OctetString): pass
Drfc2511.py30 class GeneralName(univ.OctetString): pass
46 class KeyGenParameters(univ.OctetString): pass
54 …namedtype.OptionalNamedType('valueHint', univ.OctetString().subtype(implicitTag=tag.Tag(tag.tagCla…
101 namedtype.NamedType('salt', univ.OctetString()),
Drfc1901.py12 namedtype.NamedType('community', univ.OctetString()),
Drfc1157.py19 class Community(univ.OctetString): pass
Drfc2459.py386 …namedtype.OptionalNamedType('pSelector', univ.OctetString().subtype(explicitTag=tag.Tag(tag.tagCla…
387 …namedtype.OptionalNamedType('sSelector', univ.OctetString().subtype(explicitTag=tag.Tag(tag.tagCla…
388 …namedtype.OptionalNamedType('tSelector', univ.OctetString().subtype(explicitTag=tag.Tag(tag.tagCla…
389 …namedtype.OptionalNamedType('nAddresses', univ.SetOf(componentType=univ.OctetString()).subtype(exp…
726 …namedtype.NamedType('iPAddress', univ.OctetString().subtype(implicitTag=tag.Tag(tag.tagClassContex…
880 class KeyIdentifier(univ.OctetString): pass
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/cer/
Dtest_encoder.py35 univ.OctetString('Quick brown fox')
39 univ.OctetString('Q'*1001)
46 namedtype.OptionalNamedType('first-name', univ.OctetString('')),
66 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/ber/
Dtest_encoder.py86 self.o = univ.OctetString('Quick brown fox')
108 self.o = univ.OctetString().subtype(
169 namedtype.OptionalNamedType('first-name', univ.OctetString('')),
190 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
286 namedtype.NamedType('string', univ.OctetString())
309 self.s.setComponentByPosition(2, univ.OctetString('abcdefgh'))
316 s.setComponentByPosition(2, univ.OctetString('abcdefgh'))
321 self.s = univ.Any(encoder.encode(univ.OctetString('fox')))
Dtest_decoder.py133 self.o = univ.OctetString(
135 tagSet=univ.OctetString.tagSet.tagExplicitly(
275 namedtype.NamedType('first-name', univ.OctetString(null)),
279 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
329 namedtype.OptionalNamedType('first-name', univ.OctetString(null)),
341 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
353 self.s.setComponentByPosition(1, univ.OctetString('quick brown'))
461 namedtype.NamedType('string', univ.OctetString())
476 self.s.setComponentByPosition(2, univ.OctetString('abcdefgh'))
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/
DCHANGES75 - Fix to OctetString.prettyOut() method that looses leading zero when
82 - Fix to OctetString.__str__() workings of a non-initialized object.
83 - Fix to quote initializer of OctetString.__repr__()
91 - Hex/bin string initializer to OctetString object reworked
107 + base type for encoding substrate and OctetString-based types
109 + OctetString and derivatives now unicode compliant.
110 + OctetString now supports two python-neutral getters: asOcts() & asInts()
111 + print OctetString content in hex whenever it is not printable otherwise
129 - Fix to OctetString.prettyPrint() to better handle non-printable content.
178 - Decoder can now treat values of unknown types as opaque OctetString.
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/der/
Dtest_encoder.py18 univ.OctetString('Quick brown fox')
30 namedtype.NamedType('name', univ.OctetString('')),
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dasn1.py19 namedtype.NamedType('key', univ.OctetString().subtype(
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/der/
Dencoder.py17 univ.OctetString.tagSet: encoder.encoder.OctetStringEncoder(),
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/cer/
Dencoder.py71 univ.OctetString.tagSet: OctetStringEncoder(),

12