18 return new BooleanBER(
false);
20 return new IntegerBER(0);
22 return new OctetStringBER(
nullptr, 0);
27 return new NullBER(type);
29 return new ObjectIdentifierBER(
nullptr);
31 return new IPAddressBER(IPAddress());
33 return new Counter32BER(0);
35 return new Gauge32BER(0);
37 return new TimeTicksBER(0);
39 return new OpaqueBER(
nullptr);
41 return new Counter64BER(0);
43 return new FloatBER(0);
45 return new OpaqueFloatBER(0);
56 return new SequenceBER(type);
74 setValue(value, length);
82OpaqueBER::OpaqueBER(BER *ber) :
86 _length = _ber->getSize();
BER * create(const Type &type)
Creates a BER of given type.
OctetStringBER(const char *value)
Creates an OctetStringBER object.