ASN.1 DER (de)/coding tools

From: Lars Olaussen (Isolauss_at_hotmail.com)
Date: 04/28/04


Date: Wed, 28 Apr 2004 11:30:37 +0200

Hi

Does anyone know about tools to code/decode ASN.1 DER?

Some of the things I'd like to achieve are:
 - extracting certificatePolicies information from a certificate,
decode it, edit it, and re-encode it so I can use it as input to a
new certificate (by certutil.exe -setextension)
 - extract subject information from a certificate, decode it, add a
SN value, and re-encode it so I can replace the subject-information
provided in the request.
 - define and combine different extKeyUsages and encode them to be
used as input to certutil.exe -setextension

I guess that these things could be made possible by using
certificate templates in Certificate Services, but I'm not always
using an Enterprise CA. It might also be required to edit a
certificate request from a certificate template by using this
method.

I've been trying to find applications that could provide these
features, but I haven't found any yet, so any suggestions would be
appreciated.

Regards,
Lars Olaussen
Isolauss@hotmail.com



Relevant Pages

  • Re: Defending yourself against Nazi IT departments
    ... Decode my SSL data: sure :-) ... Go somewhere else and spread your FUD. ... Accept the changed certificate and the server can read ... the reencryption phase, you won't even know it's happening unless you ...
    (comp.security.firewalls)
  • ASN.1 DER (de)/coding tools
    ... - extracting certificatePolicies information from a certificate, ... decode it, edit it, and re-encode it so I can use it as input to a ... certificate templates in Certificate Services, ...
    (microsoft.public.platformsdk.security)
  • CAPICOM.EnvelopedData decrypt: where to put certificate?
    ... I have to decode a file encoded with my partner certificate ... The problem is signature gets verified, but I get a bad error on decode: ... Better, I do install in MY store, but the certificate is not visible within ... decoder.Recipients.Add serverCert 'the remote partner certificate ...
    (microsoft.public.security)
  • CAPICOM problem on decode
    ... I have a certificate newcert.cer. ... I try the commend-line tool to decode the certificate, ... Dim CM As New FileSystemObject ... certificate file by programming. ...
    (microsoft.public.security)
  • Re: CAPICOM problem on decode
    ... I can use Import method under certificate object. ... i can read the file to decode and view the certificate information. ... >>> Dim CM As New FileSystemObject ...
    (microsoft.public.security)