Support writing needed extension types

Yep, they're only used by CertificateAuthority.java, not meant to be API-level methods