HomeSort by relevance Sort by last modified time
    Searched refs:OctetString (Results 1 - 25 of 42) sorted by null

1 2

  /external/python/pyasn1-modules/pyasn1_modules/
rfc3414.py 19 namedtype.NamedType('msgAuthoritativeEngineID', univ.OctetString()),
25 univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeConstraint(0, 32))),
26 namedtype.NamedType('msgAuthenticationParameters', univ.OctetString()),
27 namedtype.NamedType('msgPrivacyParameters', univ.OctetString())
rfc3412.py 21 namedtype.NamedType('contextEngineId', univ.OctetString()),
22 namedtype.NamedType('contextName', univ.OctetString()),
30 namedtype.NamedType('encryptedPDU', univ.OctetString()),
40 namedtype.NamedType('msgFlags', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeConstraint(1, 1))),
51 namedtype.NamedType('msgSecurityParameters', univ.OctetString()),
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()),
rfc5208.py 26 class EncryptedData(univ.OctetString):
37 class PrivateKey(univ.OctetString):
rfc1901.py 20 namedtype.NamedType('community', univ.OctetString()),
rfc1155.py 28 namedtype.NamedType('string', univ.OctetString()),
34 class IpAddress(univ.OctetString):
35 tagSet = univ.OctetString.tagSet.tagImplicitly(
76 class Opaque(univ.OctetString):
77 tagSet = univ.OctetString.tagSet.tagImplicitly(
rfc2560.py 56 class GeneralName(univ.OctetString):
96 namedtype.NamedType('issuerNameHash', univ.OctetString()),
97 namedtype.NamedType('issuerKeyHash', univ.OctetString()),
125 class KeyHash(univ.OctetString):
167 namedtype.NamedType('response', univ.OctetString())
rfc2315.py 50 class EncryptedContent(univ.OctetString):
89 class Digest(univ.OctetString):
124 class EncryptedKey(univ.OctetString):
218 class EncryptedDigest(univ.OctetString):
282 class Data(univ.OctetString):
rfc4210.py 26 class KeyIdentifier(univ.OctetString):
187 namedtype.NamedType('witness', univ.OctetString()),
188 namedtype.NamedType('challenge', univ.OctetString())
318 namedtype.NamedType('certHash', univ.OctetString()),
417 namedtype.OptionalNamedType('rspInfo', univ.OctetString())
500 'salt', univ.OctetString().subtype(subtypeSpec=constraint.ValueSizeConstraint(0, 128))
729 namedtype.OptionalNamedType('transactionID', univ.OctetString().subtype(
731 namedtype.OptionalNamedType('senderNonce', univ.OctetString().subtype(
733 namedtype.OptionalNamedType('recipNonce', univ.OctetString().subtype(
rfc6402.py 74 namedtype.NamedType('pendToken', univ.OctetString()),
181 namedtype.NamedType('witness', univ.OctetString())
278 namedtype.NamedType('anchorHashes', univ.SequenceOf(componentType=univ.OctetString()))
291 namedtype.OptionalNamedType('passphrase', univ.OctetString()),
317 namedtype.NamedType('witness', univ.OctetString())
327 namedtype.NamedType('certHashes', univ.SequenceOf(componentType=univ.OctetString())),
372 namedtype.NamedType('thePOP', univ.OctetString())
551 namedtype.NamedType('witness', univ.OctetString())
561 class NoSignatureValue(univ.OctetString):
rfc2251.py 24 class LDAPString(univ.OctetString):
28 class LDAPOID(univ.OctetString):
52 class AttributeValue(univ.OctetString):
56 class AssertionValue(univ.OctetString):
82 namedtype.OptionalNamedType('controlValue', univ.OctetString())
101 namedtype.OptionalNamedType('credentials', univ.OctetString())
107 namedtype.NamedType('simple', univ.OctetString().subtype(
109 namedtype.NamedType('reserved-1', univ.OctetString().subtype(
111 namedtype.NamedType('reserved-2', univ.OctetString().subtype(
315 namedtype.OptionalNamedType('serverSaslCreds', univ.OctetString().subtype
    [all...]
rfc3279.py 94 class KEA_Parms_Id(univ.OctetString):
158 class FieldElement(univ.OctetString):
162 class ECPoint(univ.OctetString):
  /external/python/pyasn1/tests/type/
test_namedtype.py 40 namedtype.NamedType('first-name', univ.OctetString('')),
42 namedtype.NamedType('family-name', univ.OctetString(''))
54 assert self.e[0] == namedtype.NamedType('first-name', univ.OctetString(''))
60 assert self.e.getTypeByPosition(0) == univ.OctetString(''), \
73 univ.OctetString.tagSet: univ.OctetString('')
77 univ.OctetString.tagSet: univ.OctetString('')
80 univ.OctetString.tagSet: univ.OctetString('')
    [all...]
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/python/pyasn1/tests/codec/native/
test_decoder.py 56 assert decoder.decode('Quick brown fox', asn1Spec=univ.OctetString()) == univ.OctetString('Quick brown fox')
81 namedtype.NamedType('first-name', univ.OctetString()),
89 s[1] = univ.OctetString('xx')
101 namedtype.NamedType('first-name', univ.OctetString()),
108 s[1] = univ.OctetString('xx')
test_encoder.py 64 self.o = univ.OctetString('Quick brown fox')
97 namedtype.OptionalNamedType('first-name', univ.OctetString('')),
117 namedtype.NamedType('string', univ.OctetString())
137 self.s = univ.Any(encoder.encode(univ.OctetString('fox')))
  /external/python/pyasn1/tests/codec/cer/
test_encoder.py 46 univ.OctetString('Quick brown fox')
51 univ.OctetString('Q' * 1001)
162 s.append(univ.OctetString('a'))
163 s.append(univ.OctetString('ab'))
168 s.append(univ.OctetString('ab'))
169 s.append(univ.OctetString('a'))
174 s.append(univ.OctetString('b'))
175 s.append(univ.OctetString('a'))
180 s.append(univ.OctetString('a'))
181 s.append(univ.OctetString('b')
    [all...]
  /external/python/pyasn1/tests/codec/der/
test_encoder.py 27 univ.OctetString('Quick brown fox')
32 univ.OctetString('Q' * 10000)
52 self.s = univ.SetOf(componentType=univ.OctetString())
88 namedtype.NamedType('name', univ.OctetString()),
120 namedtype.NamedType('name', univ.OctetString()),
140 namedtype.NamedType('name', univ.OctetString()),
157 namedtype.OptionalNamedType('first-name', univ.OctetString()),
248 namedtype.OptionalNamedType('first-name', univ.OctetString()),
256 namedtype.NamedType('first-name', univ.OctetString())
310 componentType=univ.OctetString()
    [all...]
  /external/python/rsa/rsa/
asn1.py 37 namedtype.NamedType('key', univ.OctetString().subtype(
  /device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
SecureBootConfigMisc.c 115 @param[out] OctetString Converted octet string of the specified length
129 OUT UINT8 *OctetString,
136 for (Ptr1 = (CONST UINT8 *)Integer, Ptr2 = OctetString + OSSizeInBytes - 1;
137 Ptr1 < (UINT8 *)(Integer + IntSizeInWords) && Ptr2 >= OctetString;
148 if (Ptr2 >= OctetString) {
149 ZeroMem (OctetString, Ptr2 - OctetString + 1);
  /external/python/pyasn1/tests/codec/ber/
test_encoder.py 159 self.o = univ.OctetString('Quick brown fox')
186 self.s = univ.OctetString()
214 self.o = univ.OctetString().subtype(
483 s.setComponentByPosition(0, univ.OctetString('quick brown'))
488 s.setComponentByPosition(0, univ.OctetString('quick brown'))
495 s.setComponentByPosition(0, univ.OctetString('quick brown'))
502 s.setComponentByPosition(0, univ.OctetString('quick brown'))
511 self.s = univ.SequenceOf(componentType=univ.OctetString())
541 self.s = univ.SequenceOf(componentType=univ.OctetString())
577 s.setComponentByPosition(0, univ.OctetString('quick brown')
    [all...]
test_decoder.py 199 self.o = univ.OctetString(
201 tagSet=univ.OctetString.tagSet.tagExplicitly(
506 self.s = univ.SequenceOf(componentType=univ.OctetString())
507 self.s.setComponentByPosition(0, univ.OctetString('quick brown'))
559 self.s = univ.SequenceOf(componentType=univ.OctetString())
560 self.s.setComponentByPosition(0, univ.OctetString('quick brown'))
586 self.s = univ.SetOf(componentType=univ.OctetString())
587 self.s.setComponentByPosition(0, univ.OctetString('quick brown'))
618 self.s = univ.SetOf(componentType=univ.OctetString())
619 self.s.setComponentByPosition(0, univ.OctetString('quick brown')
    [all...]
  /external/python/pyasn1/pyasn1/codec/der/
decoder.py 26 univ.OctetString.tagSet: OctetStringDecoder(),
  /external/python/pyasn1/pyasn1/codec/cer/
decoder.py 46 univ.OctetString.tagSet: OctetStringDecoder(),
  /external/python/pyasn1/pyasn1/type/
char.py 21 class AbstractCharacterString(univ.OctetString):
73 elif isinstance(value, univ.OctetString):
110 elif isinstance(value, univ.OctetString):
127 # See OctetString.prettyPrint() for the explanation

Completed in 169 milliseconds

1 2