91 92 93 94 95 96
# File 'lib/openssl/x509.rb', line 91 def expand_hexstring(str) return nil unless str der = str.gsub(HexPair){$&.to_i(16).chr } a1 = OpenSSL::ASN1.decode(der) return a1.value, a1.tag end