The dumpasn1 program decodes BER and DER-encoded ASN.1 data, and is configured with knowledge of many security-related objects.

WWW: http://www.cs.auckland.ac.nz/~pgut001/
