Kaspar Schiess
203e4e752d
- removes comments that would appear nonsensical in sdoc
...
These comments would appear as documentation for the Net module, which is bogus. _and_ the formatting was off. Removing them makes rdoc appear more clear.
2011-02-24 11:54:17 +01:00
Austin Ziegler
1d3817e007
Reformat and documentation update of Net::BER and Net::BER::BERParser.
2010-03-27 01:57:44 -04:00
Austin Ziegler
c913bc6fb9
Moved core extensions to Net::BER. Documented.
2010-03-20 13:47:56 +01:00
Austin Ziegler
0f13153558
Switching to version 0.1.0.
2010-03-15 20:16:12 -04:00
Kaspar Schiess
1509aa8ef6
! Fixes all tests
...
Some code has been removed. Version control is not synonymous with code storage - if you're not using it now, you probably don't have working tests and the code will be buggy anyway. Write it when you need it.
2010-02-12 14:39:57 +01:00
Kaspar Schiess
75f37c58b9
! Fixes tests for everything BUT the number conversion
...
This commit removes read_ber! since no one seems to be using it. YAGNI.
2010-02-12 11:59:46 +01:00
Rory OConnell
d37c3b3ae6
Cleaned up the layout quite a bit to make Gemifying and including into Rails 3 less painful. Some steps to 1.9 compatibility
2010-02-09 16:46:49 -06:00
blackhedd
b828ff52cf
Changed error classes to inherit from StandardError instead of Exception.
...
This should make them easier to use with irb.
2007-09-04 12:07:35 +00:00
blackhedd
55c6d2efe9
fixed error in BER encoding.
2007-05-02 02:59:38 +00:00
blackhedd
d483a345af
Added a patch by Kouhei Sutou which supports start_tls encryption.
2007-05-02 02:32:14 +00:00
blackhedd
0d9206d602
added Net::BER::BerIdentifiedOid type and related tests
2006-12-19 18:27:57 +00:00
blackhedd
eac464bcb9
added some SNMP app-specific types and cleaned up some BER-encoding problems
...
with integers.
2006-12-17 19:04:41 +00:00
blackhedd
5f197cc040
fixed the implementation of Bignum#to_ber.
2006-12-15 18:29:26 +00:00
blackhedd
cf82f83ddf
added a #to_ber method to BerIdentifiedNull, which handles ASN.1 NULL objects.
2006-12-15 13:54:50 +00:00
blackhedd
f6cb105444
oops. Fixed private.
2006-12-08 16:10:37 +00:00
blackhedd
db1894a5c0
Added Array#to_ber_oid.
2006-12-08 16:03:24 +00:00
blackhedd
65b446c586
fixed Fixnum#to_ber when the value is zero
2006-12-08 15:53:02 +00:00
blackhedd
11d8152d1b
re-implemented Fixnum#to_ber, which was wrongly implemented.
...
The new version still doesn't fix representations of negative values.
2006-12-08 15:47:23 +00:00
blackhedd
1d1a1a6f7d
DRY violated
2006-12-08 14:48:57 +00:00
blackhedd
6860965651
supported translation of the X.690 OID representation.
...
More useful for SNMP than for LDAP.
2006-12-08 10:40:17 +00:00
blackhedd
8dfbf21302
supported univeral BER types 5 (NULL) and 6 (OID)
2006-12-08 08:39:13 +00:00
blackhedd
7fe954f199
Supported some additional BER encodings.
2006-11-29 18:09:14 +00:00
blackhedd
4b110ff886
Added String#read_ber!
2006-11-27 23:09:18 +00:00
blackhedd
4db9f2c7cc
Added a more-disciplined version of #read_ber.
2006-11-27 23:07:24 +00:00
blackhedd
fad144bcbc
Supported ASN NULL objects. Kindof trivial but nice for completeness.
2006-11-27 22:57:17 +00:00
blackhedd
21e243bf13
comment
2006-09-02 17:08:47 +00:00
blackhedd
bc54a9c826
added a compiler for ASN/BER syntax, avoids interpreting it for
...
every packet we parse.
2006-09-02 16:48:07 +00:00
blackhedd
7fd1089115
comment
2006-09-02 14:48:42 +00:00
blackhedd
9ece3ff393
more optimizations
2006-09-02 14:11:31 +00:00
blackhedd
6a371b988d
several performance optimizations
2006-09-02 13:49:12 +00:00
blackhedd
58f5db9716
performance improvement in BERParser#read_ber,
...
replaced a lot of calls to Symbol#===.
2006-09-02 04:43:35 +00:00
blackhedd
9bc533401a
Added simple TLS encryption.
2006-07-26 12:20:33 +00:00
blackhedd
92c61ea897
comment
2006-05-01 06:40:48 +00:00
blackhedd
5eaacf1ac3
supported LDAP delete
2006-04-30 16:31:08 +00:00
blackhedd
90616a3ca9
lost superfluous default methods
2006-04-26 02:57:34 +00:00
blackhedd
1b8bce9051
Fixed two bugs:
...
1) We were incorrectly halting sequence-parses when the sequence
contained a boolean FALSE value;
2) We were generating application strings with a tag class of 0x80
(context-specific) rather than 0x40.
2006-04-17 00:32:24 +00:00
blackhedd
473a777fae
Moved the netxxx scripts down to net/xxx.
2006-04-16 09:38:52 +00:00