public interface ADStructureBuilder
Modifier and Type | Method and Description |
---|---|
ADStructure |
build(int length,
int type,
byte[] data)
Build an AD structure.
|
ADStructure build(int length, int type, byte[] data)
length
- The length of the AD structure. It is the value
of the first octet of the byte sequence of the
AD structure.type
- The AD type. It is the value of the second octet
of the byte sequence of the AD structure.data
- The AD data. It is the third and following octets
of the byte sequence of the AD structure.ADStructure
or its subclass.
If the builder fails to build an instance,
null
should be returned.Copyright © 2016. All rights reserved.