From aad596c8559b3d3d081617736cdbeda1374f017b Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 11 May 2012 21:58:30 +0000
Subject: [PATCH] Fix OPENDJ-482: Validation for the CertificateSyntax

---
 opends/src/server/org/opends/server/protocols/asn1/ASN1Constants.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/asn1/ASN1Constants.java b/opends/src/server/org/opends/server/protocols/asn1/ASN1Constants.java
index a27197a..1034854 100644
--- a/opends/src/server/org/opends/server/protocols/asn1/ASN1Constants.java
+++ b/opends/src/server/org/opends/server/protocols/asn1/ASN1Constants.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Portions Copyright 2012 Forgerock AS
  */
 package org.opends.server.protocols.asn1;
 
@@ -54,6 +55,13 @@
 
 
   /**
+   * The BER type that is assigned to the universal bit string type.
+   */
+  public static final byte UNIVERSAL_BIT_STRING_TYPE = 0x03;
+
+
+
+  /**
    * The BER type that is assigned to the universal octet string type.
    */
   public static final byte UNIVERSAL_OCTET_STRING_TYPE = 0x04;

--
Gitblit v1.10.0