On Fri, 5 Nov 2004 02:21:01 +0900, Will Drewry <drewry / gmail.com> wrote: > On Thu, 4 Nov 2004 14:26:33 +0900, Jason Wold <jason.wold / gmail.com> wrote: > > > You could try something like this > a = OpenSSL::ASN1::Sequence.new([OpenSSL::ASN1::Integer.new('10'), > OpenSSL::ASN1::OctetString.new('')]) > > control.value = a.to_der > '10' needs to be just the integer 10, and then it works.