summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-30 23:13:51 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-30 23:13:51 +0000
commit8aef3e8143cc8e10b799dd5ce303ab88429e5d5c (patch)
tree1c5d87292264f642bd33081778df5d8525c12b9d /net
parent7101835794b63907d9111b0b592f7328d57d4ae2 (diff)
downloadchromium_src-8aef3e8143cc8e10b799dd5ce303ab88429e5d5c.zip
chromium_src-8aef3e8143cc8e10b799dd5ce303ab88429e5d5c.tar.gz
chromium_src-8aef3e8143cc8e10b799dd5ce303ab88429e5d5c.tar.bz2
Add a kBITSTRING DER encoding tag byte to asn1_util.h
Review URL: https://chromiumcodereview.appspot.com/10824090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/asn1_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/asn1_util.h b/net/base/asn1_util.h
index aef1ec9..eb2d473 100644
--- a/net/base/asn1_util.h
+++ b/net/base/asn1_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -17,6 +17,7 @@ namespace asn1 {
// These are the DER encodings of the tag byte for ASN.1 objects.
static const unsigned kBOOLEAN = 0x01;
static const unsigned kINTEGER = 0x02;
+static const unsigned kBITSTRING = 0x03;
static const unsigned kOCTETSTRING = 0x04;
static const unsigned kOID = 0x06;
static const unsigned kSEQUENCE = 0x30;