[ELY-125] Add a DER encoder and decoder

https://issues.jboss.org/browse/ELY-125