--nextPart1581570.dOv9ppeehb
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Friday 05 November 2004 20:30, Jason Wold wrote:
> > You could try something like this
> > a =3D OpenSSL::ASN1::Sequence.new([OpenSSL::ASN1::Integer.new('10'),
> > OpenSSL::ASN1::OctetString.new('')])
> >
> > control.value =3D a.to_der
>
> '10' needs to be just the integer 10, and then it works.
I'd like to point out, for the record, that this is a perfect example of ho=
w=20
type checking in a language is a good thing.
Seriously, I'm not trying to restart that thread; I just want to draw the=20
attention of the anti-type-checking crowd to the OP.
=2D-=20
### SER =20
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Ai kido
###
http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737=20
### GPG:
http://www.germane-software.com/~ser...ser_public.gpg
--nextPart1581570.dOv9ppeehb
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBBjY89P0KxygnleI8RAvZDAKCI1preJtkqO0XexJwo5X z5ofU2ywCgzcf7
qdtvkymdjj5CCyp1inUfjtE=
=dEUR
-----END PGP SIGNATURE-----
--nextPart1581570.dOv9ppeehb--