public interface Asn1Object
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the object length, which is the sum of all inner length.
|
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the object to a PDU.
|
int computeLength()
java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
buffer - The buffer where to put the PDUEncoderException - if the buffer can't be encoded