Method: LDAP::Control#decode
- Defined in:
- lib/ldap/control.rb
#decode ⇒ Object
Take an Array of ASN.1 data and return an Array of decoded values.
39 40 41 42 43 44 45 46 47 |
# File 'lib/ldap/control.rb', line 39 def decode values = [] OpenSSL::ASN1::decode( self.value ).value.each do |val| values << val.value end values end |