

def _default_options(self, trust_root):
    "\n        Construct a ``CertificateOptions`` that exposes this credential's\n        certificate and keypair.\n\n        :param trust_root: Trust root to pass to ``CertificateOptions``.\n\n        :return: ``CertificateOptions`` instance with CA validation\n            configured.\n        "
    key = self.credential.keypair.keypair.original
    certificate = self.credential.certificate.original
    return CertificateOptions(privateKey=key, certificate=certificate, trustRoot=trust_root)

dataset/ETHPy150Open ClusterHQ/flocker/flocker/ca/_ca.py ControlCredential._default_options/original