Address DER/BER editorial note

I have created a pull request that is, for the most part editorial, but has a couple of small technical changes in it.  The edits are not complete as I want to get feedback from people about the approach I have taken and what changes would need to be made before it is ready to be integrated (if ever).

I have done the following:

1.  Define new terminology for encoding of ASN.1 that mirrors that of doing the decoding.  This is a bit tricky for me because I am not sure of what the correct term is for an object that represents the result of doing an ASN.1 decode and is not the ASN.1 structure.  This seems slightly messy.

2.  Create two new notes in the terminology section that deal with the questions of DER and BER for encoding and decoding of objects.  Among other things it notes that a DER encoded object is always a BER encoded object but not the other way around.

3.  Put in an error condition for being unable to decode a byte stream in the decoding terminology.

4.  Change the text for encoding 'pkcs8' and 'spki' for PKCS v1.5 RSA to use the new terminology.  I have not worried about doing any others as it would become a mechanical transformation after we agreement on working if this change is accepted.

Jim

Received on Tuesday, 1 December 2015 20:17:58 UTC