Finished DER encoder, then discovered that it is incompatible with the Query type. Executed first successful query of LOC.