Lines Matching refs:X509Extension
33 from OpenSSL.crypto import X509Extension
825 str(X509Extension(b"basicConstraints", True, b"CA:false"))
834 X509Extension,
846 basic = X509Extension(b"basicConstraints", True, b"CA:true")
847 assert isinstance(basic, X509Extension)
849 comment = X509Extension(b"nsComment", False, b"pyOpenSSL unit test")
850 assert isinstance(comment, X509Extension)
875 X509Extension(type_name, critical, value)
883 ext = X509Extension(b"basicConstraints", critical_flag, b"CA:true")
895 ext = X509Extension(short_name, True, value)
903 ext = X509Extension(b"basicConstraints", True, b"CA:true")
913 ext1 = X509Extension(
929 ext3 = X509Extension(
943 X509Extension(b"subjectKeyIdentifier", False, b"hash")
952 X509Extension(
962 ext1 = X509Extension(
977 ext2 = X509Extension(
992 X509Extension(
1003 X509Extension(
1598 [X509Extension(b"basicConstraints", True, b"CA:false")]
1616 X509Extension(b"basicConstraints", True, b"CA:true"),
1617 X509Extension(b"keyUsage", False, b"digitalSignature"),
1964 ca = X509Extension(b"basicConstraints", True, b"CA:FALSE")
1965 key = X509Extension(b"keyUsage", True, b"digitalSignature")
1966 subjectAltName = X509Extension(
1988 ca = X509Extension(b"basicConstraints", True, b"CA:FALSE")
1989 key = X509Extension(b"keyUsage", True, b"digitalSignature")
1990 subjectAltName = X509Extension(
1997 assert isinstance(ext, X509Extension)
2002 assert isinstance(ext, X509Extension)
2007 assert isinstance(ext, X509Extension)