Re: [openssl-dev] Getting raw ASN1 data from X509 certificate

2016-04-27 Thread Dr. Stephen Henson
On Tue, Apr 26, 2016, Kurt Roeckx wrote: > Hi, > > I'm working on a tool that checks various things related to X509 > certificates. I want to check that the encoding is actually > correct DER. With things like ASN1_TIME is seems easy to get to > the raw data, it just seems to contain it. But w

[openssl-dev] Getting raw ASN1 data from X509 certificate

2016-04-26 Thread Kurt Roeckx
Hi, I'm working on a tool that checks various things related to X509 certificates. I want to check that the encoding is actually correct DER. With things like ASN1_TIME is seems easy to get to the raw data, it just seems to contain it. But when I try it with an ASN1_INTEGER it doesn't seem to c