Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtNetwork »

Classe « QSslCertificate »

Informations générales

Héritage

builtins.object
    Object
        QSslCertificate

Définition

class QSslCertificate(Object):

Description [extrait de QSslCertificate.__doc__]

QSslCertificate(self, data: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray), format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem) -> None
QSslCertificate(self, device: PySide6.QtCore.QIODevice, format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem) -> None
QSslCertificate(self, other: Union[PySide6.QtNetwork.QSslCertificate, PySide6.QtCore.QIODevice]) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
CommonNamePySide6.QtNetwork.QSslCertificate.SubjectInfo.CommonName
CountryNamePySide6.QtNetwork.QSslCertificate.SubjectInfo.CountryName
DistinguishedNameQualifierPySide6.QtNetwork.QSslCertificate.SubjectInfo.DistinguishedNameQualifier
EmailAddressPySide6.QtNetwork.QSslCertificate.SubjectInfo.EmailAddress
LocalityNamePySide6.QtNetwork.QSslCertificate.SubjectInfo.LocalityName
OrganizationPySide6.QtNetwork.QSslCertificate.SubjectInfo.Organization
OrganizationalUnitNamePySide6.QtNetwork.QSslCertificate.SubjectInfo.OrganizationalUnitName
SerialNumberPySide6.QtNetwork.QSslCertificate.SubjectInfo.SerialNumber
StateOrProvinceNamePySide6.QtNetwork.QSslCertificate.SubjectInfo.StateOrProvinceName

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
digest(self, algorithm: PySide6.QtCore.QCryptographicHash.Algorithm = PySide6.QtCore.QCryptographicHash.Algorithm.Md5) -> PySide6.QtCore.QByteArray digest(self, algorithm: PySide6.QtCore.QCryptographicHash.Algorithm = PySide6.QtCore.QCryptographicHash.Algorithm.Md5) -> PySide6.QtCore.QByteArray [extrait de digest.__doc__]
effectiveDate(self) -> PySide6.QtCore.QDateTime effectiveDate(self) -> PySide6.QtCore.QDateTime [extrait de effectiveDate.__doc__]
expiryDate(self) -> PySide6.QtCore.QDateTime expiryDate(self) -> PySide6.QtCore.QDateTime [extrait de expiryDate.__doc__]
extensions(self) -> List[PySide6.QtNetwork.QSslCertificateExtension] extensions(self) -> List[PySide6.QtNetwork.QSslCertificateExtension] [extrait de extensions.__doc__]
fromData(data: Union[PySide6.QtCore.QByteArray, bytes], format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem) -> List[PySide6.QtNetwork.QSslCertificate] fromData(data: Union[PySide6.QtCore.QByteArray, bytes], format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem) -> List[PySide6.QtNetwork.QSslCertificate] [extrait de fromData.__doc__]
fromDevice(device: PySide6.QtCore.QIODevice, format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem) -> List[PySide6.QtNetwork.QSslCertificate] fromDevice(device: PySide6.QtCore.QIODevice, format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem) -> List[PySide6.QtNetwork.QSslCertificate] [extrait de fromDevice.__doc__]
fromPath(path: str, format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem, syntax: PySide6.QtNetwork.QSslCertificate.PatternSyntax = PySide6.QtNetwork.QSslCertificate.PatternSyntax.FixedString) -> List[PySide6.QtNetwork.QSslCertificate] fromPath(path: str, format: PySide6.QtNetwork.QSsl.EncodingFormat = PySide6.QtNetwork.QSsl.EncodingFormat.Pem, syntax: PySide6.QtNetwork.QSslCertificate.PatternSyntax = PySide6.QtNetwork.QSslCertificate.PatternSyntax.FixedString) -> List[PySide6.QtNetwork.QSslCertificate] [extrait de fromPath.__doc__]
handle(self) -> int handle(self) -> int [extrait de handle.__doc__]
importPkcs12(device: PySide6.QtCore.QIODevice, key: Union[PySide6.QtNetwork.QSslKey, int], cert: Union[PySide6.QtNetwork.QSslCertificate, PySide6.QtCore.QIODevice], caCertificates: Optional[Sequence[PySide6.QtNetwork.QSslCertificate]] = None, passPhrase: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray)) -> bool importPkcs12(device: PySide6.QtCore.QIODevice, key: Union[PySide6.QtNetwork.QSslKey, int], cert: Union[PySide6.QtNetwork.QSslCertificate, PySide6.QtCore.QIODevice], caCertificates: Optional[Sequence[PySide6.QtNetwork.QSslCertificate]] = None, passPhrase: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray)) -> bool [extrait de importPkcs12.__doc__]
isBlacklisted(self) -> bool isBlacklisted(self) -> bool [extrait de isBlacklisted.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isSelfSigned(self) -> bool isSelfSigned(self) -> bool [extrait de isSelfSigned.__doc__]
issuerDisplayName(self) -> str issuerDisplayName(self) -> str [extrait de issuerDisplayName.__doc__]
issuerInfo issuerInfo(self, attribute: Union[PySide6.QtCore.QByteArray, bytes]) -> List[str] [extrait de issuerInfo.__doc__]
issuerInfoAttributes(self) -> List[PySide6.QtCore.QByteArray] issuerInfoAttributes(self) -> List[PySide6.QtCore.QByteArray] [extrait de issuerInfoAttributes.__doc__]
PatternSyntax
publicKey(self) -> PySide6.QtNetwork.QSslKey publicKey(self) -> PySide6.QtNetwork.QSslKey [extrait de publicKey.__doc__]
serialNumber(self) -> PySide6.QtCore.QByteArray serialNumber(self) -> PySide6.QtCore.QByteArray [extrait de serialNumber.__doc__]
subjectAlternativeNames(self) -> OrderedDict[PySide6.QtNetwork.QSsl.AlternativeNameEntryType, List[str]] subjectAlternativeNames(self) -> OrderedDict[PySide6.QtNetwork.QSsl.AlternativeNameEntryType, List[str]] [extrait de subjectAlternativeNames.__doc__]
subjectDisplayName(self) -> str subjectDisplayName(self) -> str [extrait de subjectDisplayName.__doc__]
SubjectInfo
subjectInfo subjectInfo(self, attribute: Union[PySide6.QtCore.QByteArray, bytes]) -> List[str] [extrait de subjectInfo.__doc__]
subjectInfoAttributes(self) -> List[PySide6.QtCore.QByteArray] subjectInfoAttributes(self) -> List[PySide6.QtCore.QByteArray] [extrait de subjectInfoAttributes.__doc__]
swap(self, other: Union[PySide6.QtNetwork.QSslCertificate, PySide6.QtCore.QIODevice]) -> None swap(self, other: Union[PySide6.QtNetwork.QSslCertificate, PySide6.QtCore.QIODevice]) -> None [extrait de swap.__doc__]
toDer(self) -> PySide6.QtCore.QByteArray toDer(self) -> PySide6.QtCore.QByteArray [extrait de toDer.__doc__]
toPem(self) -> PySide6.QtCore.QByteArray toPem(self) -> PySide6.QtCore.QByteArray [extrait de toPem.__doc__]
toText(self) -> str toText(self) -> str [extrait de toText.__doc__]
verify(certificateChain: Sequence[PySide6.QtNetwork.QSslCertificate], hostName: str = '') -> List[PySide6.QtNetwork.QSslError] verify(certificateChain: Sequence[PySide6.QtNetwork.QSslCertificate], hostName: str = '') -> List[PySide6.QtNetwork.QSslError] [extrait de verify.__doc__]
version(self) -> PySide6.QtCore.QByteArray version(self) -> PySide6.QtCore.QByteArray [extrait de version.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__