2010-03-20 05:18:10 +01:00
|
|
|
require 'net/ber/ber_parser'
|
2010-04-19 07:52:57 +02:00
|
|
|
# :stopdoc:
|
2010-03-20 05:18:10 +01:00
|
|
|
class IO
|
|
|
|
include Net::BER::BERParser
|
|
|
|
end
|
|
|
|
|
|
|
|
class StringIO
|
|
|
|
include Net::BER::BERParser
|
|
|
|
end
|
|
|
|
|
|
|
|
if defined? ::OpenSSL
|
|
|
|
class OpenSSL::SSL::SSLSocket
|
|
|
|
include Net::BER::BERParser
|
|
|
|
end
|
|
|
|
end
|
2010-04-19 07:52:57 +02:00
|
|
|
# :startdoc:
|
2010-03-20 05:18:10 +01:00
|
|
|
|
2010-04-19 07:52:57 +02:00
|
|
|
module Net::BER::Extensions # :nodoc:
|
|
|
|
end
|
2010-03-20 05:18:10 +01:00
|
|
|
|
|
|
|
require 'net/ber/core_ext/string'
|
2010-04-19 07:52:57 +02:00
|
|
|
# :stopdoc:
|
2010-03-20 05:18:10 +01:00
|
|
|
class String
|
|
|
|
include Net::BER::BERParser
|
|
|
|
include Net::BER::Extensions::String
|
|
|
|
end
|
|
|
|
|
|
|
|
require 'net/ber/core_ext/array'
|
2010-04-19 07:52:57 +02:00
|
|
|
# :stopdoc:
|
|
|
|
class Array
|
2010-03-20 05:18:10 +01:00
|
|
|
include Net::BER::Extensions::Array
|
|
|
|
end
|
2010-04-19 07:52:57 +02:00
|
|
|
# :startdoc:
|
2010-03-20 05:18:10 +01:00
|
|
|
|
|
|
|
require 'net/ber/core_ext/bignum'
|
2010-04-19 07:52:57 +02:00
|
|
|
# :stopdoc:
|
|
|
|
class Bignum
|
2010-03-20 05:18:10 +01:00
|
|
|
include Net::BER::Extensions::Bignum
|
|
|
|
end
|
2010-04-19 07:52:57 +02:00
|
|
|
# :startdoc:
|
2010-03-20 05:18:10 +01:00
|
|
|
|
|
|
|
require 'net/ber/core_ext/fixnum'
|
2010-04-19 07:52:57 +02:00
|
|
|
# :stopdoc:
|
|
|
|
class Fixnum
|
2010-03-20 05:18:10 +01:00
|
|
|
include Net::BER::Extensions::Fixnum
|
|
|
|
end
|
2010-04-19 07:52:57 +02:00
|
|
|
# :startdoc:
|
2010-03-20 05:18:10 +01:00
|
|
|
|
|
|
|
require 'net/ber/core_ext/true_class'
|
2010-04-19 07:52:57 +02:00
|
|
|
# :stopdoc:
|
|
|
|
class TrueClass
|
2010-03-20 05:18:10 +01:00
|
|
|
include Net::BER::Extensions::TrueClass
|
|
|
|
end
|
2010-04-19 07:52:57 +02:00
|
|
|
# :startdoc:
|
2010-03-20 05:18:10 +01:00
|
|
|
|
|
|
|
require 'net/ber/core_ext/false_class'
|
2010-04-19 07:52:57 +02:00
|
|
|
# :stopdoc:
|
|
|
|
class FalseClass
|
2010-03-20 05:18:10 +01:00
|
|
|
include Net::BER::Extensions::FalseClass
|
|
|
|
end
|
2010-04-19 07:52:57 +02:00
|
|
|
# :startdoc:
|