Clean up CertificateDescription

- Remove DER* class usages
- Use getOctects function to extract certificate hashes