Lines Matching refs:gns
2020 gns = x509.GeneralNames(
2023 names = gns.get_values_for_type(x509.DNSName)
2027 gns = x509.GeneralNames([
2031 assert len(gns) == 2
2032 assert list(gns) == [
2042 gns = x509.GeneralNames(iter(names))
2043 assert list(gns) == names
2063 gns = x509.GeneralNames(
2069 assert repr(gns) == (
2073 assert repr(gns) == (
2078 gns = x509.GeneralNames(
2084 assert gns == gns2
2087 gns = x509.GeneralNames(
2093 assert gns != gns2
2094 assert gns != object()
2097 gns = x509.GeneralNames([x509.DNSName(u"cryptography.io")])
2100 assert hash(gns) == hash(gns2)
2101 assert hash(gns) != hash(gns3)