Lines Matching refs:cert
2301 def __init__(self, cert, pfmri=None):
2303 self.cert = cert
2310 def __init__(self, cert, path, pfmri=None):
2311 CertificateException.__init__(self, cert, pfmri)
2332 def __init__(self, cert, cert_exceptions, *args, **kwargs):
2333 CertificateException.__init__(self, cert, *args, **kwargs)
2344 sub.oid._name, sub.value) for sub in self.cert.subject),
2346 for i in self.cert.issuer)) + s + "\n" + \
2354 def __init__(self, cert, reason, *args, **kwargs):
2355 CertificateException.__init__(self, cert, *args, **kwargs)
2359 return _("This certificate was revoked:{cert} for this "
2360 "reason:\n{reason}\n").format(cert="/".join("{0}={1}".format(
2361 s.oid._name, s.value) for s in self.cert.subject),
2434 def __init__(self, cert, ext):
2436 self.cert = cert
2440 return _("The certificate whose subject is {cert} could not "
2443 "value: {val}").format(cert="/".join("{0}={1}".format(
2444 s.oid._name, s.value) for s in self.cert.subject),
2451 def __init__(self, cert, error):
2453 self.cert = cert
2457 s = _("The certificate whose subject is {cert} could not be "
2459 ).format(cert="/".join("{0}={1}".format(
2460 s.oid._name, s.value) for s in self.cert.subject),
2470 def __init__(self, cert, ext, use, val):
2472 self.cert = cert
2478 return _("The certificate whose subject is {cert} could not "
2482 "'{val}'.").format(cert="/".join("{0}={1}".format(
2483 s.oid._name, s.value) for s in self.cert.subject),
2493 def __init__(self, cert, actual_length, cert_length):
2495 self.cert = cert
2500 return _("The certificate whose subject is {cert} could not "
2506 cert="/".join("{0}={1}".format(
2507 s.oid._name, s.value) for s in self.cert.subject),
2592 return _("Certificate '{cert}' for publisher "
2595 "certificate.").format(cert=self.data,
2597 return _("Certificate '{cert}' for publisher "
2599 "certificate.").format(cert=self.data,
2602 return _("Certificate '{cert}', needed to access "
2604 "certificate.").format(cert=self.data,
2658 return _("Certificate '{cert}' for publisher "
2661 cert=self.data, pub=publisher,
2663 return _("Certificate '{cert}' for publisher "
2665 cert=self.data, pub=publisher, days=days)
2667 return _("Certificate '{cert}', needed to access "
2669 cert=self.data, uri=uri, days=days)
2670 return _("Certificate '{cert}' will expire in "
2671 "'{days}' days.").format(cert=self.data, days=days)
2682 return _("Certificate '{cert}' for publisher "
2684 "invalid.").format(cert=self.data,
2686 return _("Certificate '{cert}' for publisher "
2687 "'{pub}' is invalid.").format(cert=self.data,
2690 return _("Certificate '{cert}' needed to access "
2691 "'{uri}' is invalid.").format(cert=self.data,
2727 "'{cert}' for publisher '{pub}' needed "
2729 cert=self.data, pub=publisher,
2731 return _("Unable to locate certificate '{cert}' for "
2732 "publisher '{pub}'.").format(cert=self.data,
2735 return _("Unable to locate certificate '{cert}' "
2737 cert=self.data, uri=uri)
2751 return _("Certificate '{cert}' for publisher "
2754 cert=self.data, pub=publisher,
2756 return _("Certificate '{cert}' for publisher "
2758 cert=self.data, pub=publisher)
2760 return _("Certificate '{cert}' needed to access "
2762 cert=self.data, uri=uri)