Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ public int decode(InputStream is) throws IOException {
return decode(is, true);
}

public int decodeString(InputStream is, BerTag tag) throws IOException {
if (tag.primitive == BerTag.CONSTRUCTED) {
return decodeConstructedOctetString(is);
}

return decodePrimitiveOctetString(is);
}

public int decode(InputStream is, boolean withTag) throws IOException {

if (withTag) {
Expand Down