'Construct a ``CertificateOptions`` that exposes this credential\'s
certificate and keypair.
:param trust_root: Trust root to pass to ``CertificateOptions``.
:return: ``CertificateOptions`` instance with CA validation
configured.'

def _default_options(self, trust_root):

    key = self.credential.keypair.keypair.original
    certificate = self.credential.certificate.original
    return CertificateOptions(privateKey=key, certificate=certificate, trustRoot=trust_root)
