schemajic.encoder
Class Length
java.lang.Object
schemajic.encoder.Length
- All Implemented Interfaces:
- Encodable
public class Length
- extends java.lang.Object
- implements Encodable
Represents an encoded length in an ASN.1 Tag/Length/Value encoding.
- Version:
- 1.00 - 2006/02/10
- Author:
- support@phillipgriffin.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Length
public Length()
Length
public Length(Length length)
Length
public Length(int i)
getValue
public int getValue()
setValue
public void setValue(int i)
add
public void add(int i)
add
public void add(Length l)
getEncoding
public byte[] getEncoding()
calculateEncodedLength
public int calculateEncodedLength()
encode
public void encode(java.io.OutputStream out)
throws EncodingException
- Specified by:
encode in interface Encodable
- Throws:
EncodingException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.