Skip to content

Commit 8dfbf21

Browse files
author
blackhedd
committed
supported univeral BER types 5 (NULL) and 6 (OID)
1 parent 7fe954f commit 8dfbf21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/net/ber.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ module BERParser
8787
1 => :boolean,
8888
2 => :integer,
8989
4 => :string,
90+
5 => :null,
91+
6 => :string, # (OID)
9092
10 => :integer,
91-
13 => :string # (OID)
93+
13 => :string # (relative OID)
9294
},
9395
:constructed => {
9496
16 => :array,

0 commit comments

Comments
 (0)