MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / BERSequenceDecoder

Method BERSequenceDecoder

src/cryptlib/asn.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76BERSequenceDecoder::BERSequenceDecoder(BufferedTransformation &inQueue)
77 : inQueue(inQueue)
78{
79 byte b;
80 if (!inQueue.Get(b) || b != (SEQUENCE | CONSTRUCTED))
81 BERDecodeError();
82
83 definiteLength = BERLengthDecode(inQueue, length);
84}
85
86BERSequenceDecoder::~BERSequenceDecoder()
87{

Callers

nothing calls this directly

Calls 2

BERLengthDecodeFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected