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

1 2

  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
BitStringTest.java 32 import org.apache.harmony.security.asn1.BitString;
38 * ASN.1 DER test for Bitstring type
46 //bitstring array format: bitstring object/ byte array
48 { new BitString(new byte[] { }, 0), // object
51 { new BitString(new byte[] { 0x05 }, 0), // object
54 { new BitString(new byte[] { (byte) 0x80 }, 7), // object
67 BitString expected = (BitString) validBitstring[i][0];
68 BitString decoded = (BitString) asn1.decode(in)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
pkcs12.py 26 class Signature(univ.BitString): pass
rfc2314.py 25 class Signature(univ.BitString): pass
rfc2511.py 52 namedtype.OptionalNamedType('encSymmKey', univ.BitString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 2))),
55 namedtype.NamedType('encValue', univ.BitString())
94 namedtype.NamedType('thisMessage', univ.BitString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 0))),
96 namedtype.NamedType('dhMAC', univ.BitString().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2)))
110 namedtype.NamedType('value', univ.BitString())
123 namedtype.NamedType('signature', univ.BitString())
rfc2560.py 119 namedtype.NamedType('signature', univ.BitString()),
155 namedtype.NamedType('signature', univ.BitString()),
rfc2315.py 108 class Signature(univ.BitString): pass
147 namedtype.NamedType('signature', univ.BitString())
rfc4210.py 184 class PKIFailureInfo(univ.BitString):
428 namedtype.NamedType('hashVal', univ.BitString())
476 class PKIProtection(univ.BitString): pass
rfc2459.py 244 namedtype.NamedType('subjectPublicKey', univ.BitString())
247 class UniqueIdentifier(univ.BitString): pass
286 namedtype.NamedType('signatureValue', univ.BitString())
313 namedtype.NamedType('signature', univ.BitString())
335 namedtype.NamedType('seed', univ.BitString()),
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/der/
encoder.py 16 univ.BitString.tagSet: encoder.encoder.BitStringEncoder(),
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/der/
test_encoder.py 24 univ.BitString((1,))
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/cer/
test_encoder.py 24 univ.BitString((1,0)*501)
29 univ.BitString((1,0)*501)
  /prebuilts/go/darwin-x86/src/crypto/x509/
sec1.go 28 PublicKey asn1.BitString `asn1:"optional,explicit,tag:1"`
46 PublicKey: asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.Y)},
x509.go 33 BitString asn1.BitString
98 BitString: asn1.BitString{
114 SignatureValue asn1.BitString
126 UniqueId asn1.BitString `asn1:"optional,tag:1"`
127 SubjectUniqueId asn1.BitString `asn1:"optional,tag:2"`
148 PublicKey asn1.BitString
740 Reason asn1.BitString `asn1:"optional,tag:1"`
942 var usageBits asn1.BitString
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/asn1/
marshal_test.go 110 {BitString{[]byte{0x80}, 1}, "03020780"},
111 {BitString{[]byte{0x81, 0xf0}, 12}, "03030481f0"},
asn1.go 129 // BitString is the structure to use when you want an ASN.1 BIT STRING type. A
132 type BitString struct {
139 func (b BitString) At(i int) int {
149 // slice may share memory with the BitString.
150 func (b BitString) RightAlign() []byte {
167 func parseBitString(bytes []byte) (ret BitString, err error) {
537 bitStringType = reflect.TypeOf(BitString{})
907 // An ASN.1 BIT STRING can be written to a BitString.
asn1_test.go 163 bs := BitString{[]byte{0x82, 0x40}, 16}
201 bs := BitString{test.in, test.inlen}
457 {[]byte{0x03, 0x04, 0x06, 0x6e, 0x5d, 0xc0}, &BitString{[]byte{110, 93, 192}, 18}},
491 SignatureValue BitString
523 PublicKey BitString
632 PublicKey: BitString{
647 SignatureValue: BitString{
    [all...]
  /prebuilts/go/linux-x86/src/crypto/x509/
sec1.go 28 PublicKey asn1.BitString `asn1:"optional,explicit,tag:1"`
46 PublicKey: asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.Y)},
x509.go 33 BitString asn1.BitString
98 BitString: asn1.BitString{
114 SignatureValue asn1.BitString
126 UniqueId asn1.BitString `asn1:"optional,tag:1"`
127 SubjectUniqueId asn1.BitString `asn1:"optional,tag:2"`
148 PublicKey asn1.BitString
740 Reason asn1.BitString `asn1:"optional,tag:1"`
942 var usageBits asn1.BitString
    [all...]
  /prebuilts/go/linux-x86/src/encoding/asn1/
marshal_test.go 110 {BitString{[]byte{0x80}, 1}, "03020780"},
111 {BitString{[]byte{0x81, 0xf0}, 12}, "03030481f0"},
asn1.go 129 // BitString is the structure to use when you want an ASN.1 BIT STRING type. A
132 type BitString struct {
139 func (b BitString) At(i int) int {
149 // slice may share memory with the BitString.
150 func (b BitString) RightAlign() []byte {
167 func parseBitString(bytes []byte) (ret BitString, err error) {
537 bitStringType = reflect.TypeOf(BitString{})
907 // An ASN.1 BIT STRING can be written to a BitString.
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/cer/
encoder.py 70 univ.BitString.tagSet: BitStringEncoder(),
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/type/
univ.py 136 class BitString(base.AbstractSimpleAsn1Item):
250 'Non-binary BitString initializer \'%s\'' % (r,)
253 elif isinstance(value, BitString):
257 'Bad BitString initializer type \'%s\'' % (value,)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/ber/
test_encoder.py 61 self.b = univ.BitString((1,0,1,0,1,0,0,1,1,0,0,0,1,0,1))
82 assert encoder.encode(univ.BitString(())) == ints2octs((3, 1, 0))
  /prebuilts/go/darwin-x86/src/crypto/x509/pkix/
pkix.go 168 SignatureValue asn1.BitString
  /prebuilts/go/linux-x86/src/crypto/x509/pkix/
pkix.go 168 SignatureValue asn1.BitString

Completed in 3549 milliseconds

1 2