org.ldaptive.asn1
Class ConstructedDEREncoder

java.lang.Object
  extended by org.ldaptive.asn1.AbstractDERType
      extended by org.ldaptive.asn1.ConstructedDEREncoder
All Implemented Interfaces:
DEREncoder

public class ConstructedDEREncoder
extends AbstractDERType
implements DEREncoder

Encodes constructed types to their DER format.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Constructor Summary
ConstructedDEREncoder(DERTag tag, DEREncoder... encoders)
          Creates a new sequence encoder.
 
Method Summary
 byte[] encode()
          Encode this object into it's DER type.
 
Methods inherited from class org.ldaptive.asn1.AbstractDERType
encode, readBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructedDEREncoder

public ConstructedDEREncoder(DERTag tag,
                             DEREncoder... encoders)
Creates a new sequence encoder.

Parameters:
tag - der tag associated with this type
encoders - to encode in this sequence
Method Detail

encode

public byte[] encode()
Encode this object into it's DER type.

Specified by:
encode in interface DEREncoder
Returns:
DER encoded object


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.