Sha256: 61090a0eab03da7ad3708427c461c9a6b945d2506ae1b400feb26f52b7c4e328
Contents?: true
Size: 318 Bytes
Versions: 3
Compression:
Stored size: 318 Bytes
Contents
module Ccrypto module Ruby class ASN1Object < Ccrypto::ASN1Object def to_bin case @asn1 when OpenSSL::ASN1::Sequence seq = OpenSSL::ASN1::Sequence.new(@asn1.map { |e| e.to_der }) seq.to_der else @asn1.to_der end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ccrypto-ruby-0.1.2 | lib/ccrypto/ruby/engines/asn1_object.rb |
ccrypto-ruby-0.1.1 | lib/ccrypto/ruby/engines/asn1_object.rb |
ccrypto-ruby-0.1.0 | lib/ccrypto/ruby/engines/asn1_object.rb |