implementations for retrieval of certificates and public keys from elements.