Skip to content

PythonQt.QtNetwork.QSslEllipticCurve · declarations 001

Back to PythonQt.QtNetwork.QSslEllipticCurve

fromLongName

fromLongName(name: Any) -> Any

X.fromLongName(name) -> PythonQt.QtNetwork.QSslEllipticCurve

Supplemental documentation: Qt 5 reference:

[static] QSslEllipticCurve QSslEllipticCurve::fromLongName(const QString \&name)

Returns an QSslEllipticCurve instance representing the named curve name. The name is a long name for the curve, whose exact spelling depends on the SSL implementation.

If the given name is not supported, returns an invalid QSslEllipticCurve instance.

Note: The OpenSSL implementation of this function treats the name case-sensitively.

See also longName().

Source: https://doc.qt.io/archives/qt-5.15/qsslellipticcurve.html#fromLongName

fromShortName

fromShortName(name: Any) -> Any

X.fromShortName(name) -> PythonQt.QtNetwork.QSslEllipticCurve

Supplemental documentation: Qt 5 reference:

[static] QSslEllipticCurve QSslEllipticCurve::fromShortName(const QString \&name)

Returns an QSslEllipticCurve instance representing the named curve name. The name is the conventional short name for the curve, as represented by RFC 4492 (for instance secp521r1), or as NIST short names (for instance P-256). The actual set of recognized names depends on the SSL implementation.

If the given name is not supported, returns an invalid QSslEllipticCurve instance.

Note: The OpenSSL implementation of this function treats the name case-sensitively.

See also shortName().

Source: https://doc.qt.io/archives/qt-5.15/qsslellipticcurve.html#fromShortName

isTlsNamedCurve

isTlsNamedCurve() -> bool

X.isTlsNamedCurve() -> bool

Supplemental documentation: Qt 5 reference:

bool QSslEllipticCurve::isTlsNamedCurve() const

Returns true if this elliptic curve is one of the named curves that can be used in the key exchange when using an elliptic curve cipher with TLS; false otherwise.

Source: https://doc.qt.io/archives/qt-5.15/qsslellipticcurve.html#isTlsNamedCurve

isValid

isValid() -> bool

X.isValid() -> bool

Supplemental documentation: Qt 5 reference:

bool QSslEllipticCurve::isValid() const

Returns true if this elliptic curve is a valid curve, false otherwise.

Source: https://doc.qt.io/archives/qt-5.15/qsslellipticcurve.html#isValid

longName

longName() -> str

X.longName() -> str

Supplemental documentation: Qt 5 reference:

QString QSslEllipticCurve::longName() const

Returns the conventional long name for this curve. If this curve is invalid, returns an empty string.

See also shortName().

Source: https://doc.qt.io/archives/qt-5.15/qsslellipticcurve.html#longName

shortName

shortName() -> str

X.shortName() -> str

Supplemental documentation: Qt 5 reference:

QString QSslEllipticCurve::shortName() const

Returns the conventional short name for this curve. If this curve is invalid, returns an empty string.

See also longName().

Source: https://doc.qt.io/archives/qt-5.15/qsslellipticcurve.html#shortName