org.apache.directory.shared.asn1.der
Class BERSequence

java.lang.Object
  extended by org.apache.directory.shared.asn1.der.DERSequence
      extended by org.apache.directory.shared.asn1.der.BERSequence
All Implemented Interfaces:
DEREncodable

public class BERSequence
extends DERSequence


Constructor Summary
BERSequence()
           
 
Method Summary
 void encode(ASN1OutputStream out)
          As DER requires the constructed, definite-length model to be used for structured types, this varies slightly from the ASN.1 descriptions given.
 
Methods inherited from class org.apache.directory.shared.asn1.der.DERSequence
add, get, getObjects, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BERSequence

public BERSequence()
Method Detail

encode

public void encode(ASN1OutputStream out)
            throws java.io.IOException
Description copied from class: DERSequence
As DER requires the constructed, definite-length model to be used for structured types, this varies slightly from the ASN.1 descriptions given. Rather than just outputing SEQUENCE, we also have to specify CONSTRUCTED, and the objects length.

Specified by:
encode in interface DEREncodable
Overrides:
encode in class DERSequence
Throws:
java.io.IOException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.