security: In Certificate, set methods const where possible.