def __init__(self, values, critical=False):
        assert len(values) > 0, "Need at least one value."
        new = []
        for value in values:
            if isinstance(value, Certificate):
                super(IssuerAltName, self).__init__(
                    "issuerAltName", critical, "issuer:copy", issuer=value)
                break
            elif isinstance(value, crypto.X509):
                super(IssuerAltName, self).__init__(
                    "issuerAltName", critical, "issuer:copy",
                    issuer=Certificate(_cert=value))
                break
            pre = guess_altname_prefix(value)
            new.append("{}:{}".format(pre, value))
        else:
            super(IssuerAltName, self).__init__("issuerAltName", critical,
                                                ",".join(new))
dataset/ETHPy150Open kdart/pycopia/net/pycopia/ssl/certs.py/IssuerAltName.__init__/original