Class: Net::BER::BerIdentifiedOid

### Home Classes Methods

### In Files

- lib/net/ber.rb

### Parent

Object

### Methods

- ::new
- #to_arr
- #to_ber
- #to_ber_oid
- #to_s

### Files

- History.rdoc
- Manifest.txt

### Class/Module Index

Quicksearch

- Net
- Net::BER
- Net::BER::BERParser
- Net::BER::BerError
- Net::BER::BerIdentifiedArray
- Net::BER::BerIdentifiedNull
- Net::BER::BerIdentifiedOid
- Net::BER::BerIdentifiedString
- Net::BER::Extensions
- Net::BER::Extensions::Array
- Net::BER::Extensions::Bignum
- Net::BER::Extensions::FalseClass
- Net::BER::Extensions::Fixnum
- Net::BER::Extensions::String
- Net::BER::Extensions::TrueClass
- Net::LDAP
- Net::LDAP::Connection
- Net::LDAP::Connection::GetbyteForSSLSocket
- Net::LDAP::DN
- Net::LDAP::Dataset
- Net::LDAP::Entry
- Net::LDAP::Filter
- Net::LDAP::LdapControls
- Net::LDAP::LdapError
- Net::LDAP::PDU
- Net::LDAP::PDU::Error
- Net::LDAP::Password
- OpenSSL
- OpenSSL::SSL
- OpenSSL::SSL::SSLSocket

No matching classes.

# Net::BER::BerIdentifiedOid

A BER object identifier.

### Attributes

ber_identifier[RW]

### Public Class Methods

new(oid) click to toggle source

    # File lib/net/ber.rb, line 267
    def initialize(oid)
      if oid.is_a?(String)
        oid = oid.split(/\./).map {|s| s.to_i }
      end
      @value = oid
    end

### Public Instance Methods

to_arr() click to toggle source

    # File lib/net/ber.rb, line 286
    def to_arr
      @value.dup
    end

to_ber() click to toggle source

    # File lib/net/ber.rb, line 274
    def to_ber
      to_ber_oid
    end

to_ber_oid() click to toggle source

    # File lib/net/ber.rb, line 278
    def to_ber_oid
      @value.to_ber_oid
    end

to_s() click to toggle source

    # File lib/net/ber.rb, line 282
    def to_s
      @value.join(".")
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.