You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by we...@apache.org on 2004/02/08 16:34:01 UTC
svn commit: rev 6593 - incubator/directory/snickers/trunk/ber/src/java/org/apache/snickers/asn
Author: wesmckean
Date: Sun Feb 8 07:34:00 2004
New Revision: 6593
Modified:
incubator/directory/snickers/trunk/ber/src/java/org/apache/snickers/asn/ASNDecoder.java
Log:
Added a few new decoding methods.
Modified: incubator/directory/snickers/trunk/ber/src/java/org/apache/snickers/asn/ASNDecoder.java
==============================================================================
--- incubator/directory/snickers/trunk/ber/src/java/org/apache/snickers/asn/ASNDecoder.java (original)
+++ incubator/directory/snickers/trunk/ber/src/java/org/apache/snickers/asn/ASNDecoder.java Sun Feb 8 07:34:00 2004
@@ -94,4 +94,23 @@
* @return The decoded <code>OctetString</code>
*/
String decodeOctetString( int[] value );
+
+ /**
+ * Decodes a <code>null</code> value. Based on the way our
+ * parser is developing, it is unlikely that this will
+ * ever be used. So it is being included as a place
+ * holder.
+ *
+ * @param value the encoded null value (N/A)
+ */
+ void decodeNull( int[] value );
+
+ /**
+ * Decodes an object identifier from the array of bytes
+ * into a String value.
+ *
+ * @param value the byte encoded object identifier
+ * @return a String representation of the byte identifier
+ */
+ String decodeObjectIdentifier( int[] value );
}