com.mindbright.asn1
Class ASN1BER
java.lang.Object
|
+--com.mindbright.asn1.ASN1DER
|
+--com.mindbright.asn1.ASN1BER
- All Implemented Interfaces:
- ASN1Decoder, ASN1Encoder
- public class ASN1BER
- extends ASN1DER
| Methods inherited from class com.mindbright.asn1.ASN1DER |
decode, decodeBoolean, decodeInteger, decodeNull, decodeOID, decodeString, decodeTag, encode, encodeBoolean, encodeInteger, encodeLength, encodeNull, encodeOID, encodeString, encodeStructure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDEFINITE_LEN
protected static final int INDEFINITE_LEN
- See Also:
- Constant Field Values
ASN1BER
public ASN1BER()
decodeLength
public int[] decodeLength(java.io.InputStream in)
throws java.io.IOException
- Overrides:
decodeLength in class ASN1DER
java.io.IOException
decodeValue
public void decodeValue(java.io.InputStream in,
int tag,
int len,
ASN1Object object)
throws java.io.IOException
- Specified by:
decodeValue in interface ASN1Decoder- Overrides:
decodeValue in class ASN1DER
java.io.IOException
decodeStructure
public void decodeStructure(java.io.InputStream in,
int len,
ASN1Structure struct)
throws java.io.IOException
- Specified by:
decodeStructure in interface ASN1Decoder- Overrides:
decodeStructure in class ASN1DER
java.io.IOException
main
public static void main(java.lang.String[] argv)