OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:OctetString
(Results
1 - 4
of
4
) sorted by null
/external/python/pyasn1-modules/pyasn1_modules/
rfc1902.py
30
class
OctetString
(univ.
OctetString
):
36
class IpAddress(univ.
OctetString
):
37
tagSet = univ.
OctetString
.tagSet.tagImplicitly(
40
subtypeSpec = univ.
OctetString
.subtypeSpec + constraint.ValueSizeConstraint(
81
class Opaque(univ.
OctetString
):
82
tagSet = univ.
OctetString
.tagSet.tagImplicitly(
96
class Bits(univ.
OctetString
):
107
namedtype.NamedType('string-value',
OctetString
()),
/external/python/pyasn1/pyasn1/type/
univ.py
25
__all__ = ['Integer', 'Boolean', 'BitString', '
OctetString
', 'Null',
723
class
OctetString
(base.AbstractSimpleAsn1Item):
764
class Icon(
OctetString
):
871
elif isinstance(value,
OctetString
): # a shortcut, bytes() would work the same way
900
#
OctetString
.prettyPrint() used to return hexified payload
905
# Therefore `
OctetString
.__str__()` -> `.prettyPrint()` call chain is
934
return
OctetString
.__str__(self)
1028
class Null(
OctetString
):
[
all
...]
/external/python/pyasn1/tests/type/
test_univ.py
488
assert univ.
OctetString
(self.encodedPythonString) == self.encodedPythonString, '__init__() fails'
491
assert univ.
OctetString
(univ.
OctetString
(self.encodedPythonString)) == self.encodedPythonString
492
assert univ.
OctetString
(univ.Integer(123)) == univ.
OctetString
('123')
496
assert str(univ.
OctetString
(self.encodedPythonString, encoding=self.encoding)) == self.encodedPythonString, '__str__() fails'
498
assert bytes(univ.
OctetString
(self.encodedPythonString, encoding=self.encoding)) == self.encodedPythonString, '__str__() fails'
502
assert str(univ.
OctetString
(self.encodedPythonString, encoding=self.encoding)) == self.encodedPythonString, '__str__() fails'
503
assert unicode(univ.
OctetString
(self.pythonString, encoding=self.encoding)) == self.pythonString, 'unicode init fails'
505
assert str(univ.
OctetString
(self.pythonString, encoding=self.encoding)) == self.pythonString, 'unicode init fails
[
all
...]
/external/scapy/scapy/contrib/
diameter.py
209
class
OctetString
(StrLenField):
518
OctetString
("val", None, length_from=lambda pkt:pkt.avpLen - 12)
525
OctetString
("val", None, length_from=lambda pkt:pkt.avpLen - 8)
[
all
...]
Completed in 1512 milliseconds