Lines Matching refs:ku
826 ku = x509.KeyUsage(
837 assert ku.digital_signature is True
838 assert ku.content_commitment is True
839 assert ku.key_encipherment is False
840 assert ku.data_encipherment is False
841 assert ku.key_agreement is False
842 assert ku.key_cert_sign is True
843 assert ku.crl_sign is False
846 ku = x509.KeyUsage(
857 assert ku.key_agreement is True
858 assert ku.encipher_only is False
859 assert ku.decipher_only is True
862 ku = x509.KeyUsage(
873 assert ku.key_agreement is False
875 ku.encipher_only
878 ku.decipher_only
881 ku = x509.KeyUsage(
892 assert repr(ku) == (
900 ku = x509.KeyUsage(
911 assert repr(ku) == (
919 ku = x509.KeyUsage(
941 assert ku == ku2
944 ku = x509.KeyUsage(
966 assert ku != ku2
967 assert ku != object()
970 ku = x509.KeyUsage(
1003 assert hash(ku) == hash(ku2)
1004 assert hash(ku) != hash(ku3)
1640 ku = ext.value
1641 assert ku.digital_signature is True
1642 assert ku.content_commitment is True
1643 assert ku.key_encipherment is True
1644 assert ku.data_encipherment is True
1645 assert ku.key_agreement is True
1646 assert ku.key_cert_sign is True
1647 assert ku.crl_sign is True
1648 assert ku.encipher_only is True
1649 assert ku.decipher_only is True
1663 ku = ext.value
1664 assert ku.digital_signature is False
1665 assert ku.content_commitment is False
1666 assert ku.key_encipherment is False
1667 assert ku.data_encipherment is False
1668 assert ku.key_agreement is False
1669 assert ku.key_cert_sign is True
1670 assert ku.crl_sign is True