<class name="QSsl" doc="/**
&lt;p&gt;The &lt;a href=&quot;QSsl.html&quot;&gt;&lt;tt&gt;QSsl&lt;/tt&gt;&lt;/a&gt; namespace declares enums common to all SSL classes in QtNetwork.&lt;/p&gt;
 */">
    <enum name="KeyType" doc="/**
&lt;p&gt;Describes the two types of keys QSslKey supports.&lt;/p&gt;
 */">
        <enum-value name="PrivateKey" doc="/**
&lt;p&gt;A private key.&lt;/p&gt;
 */"/>
        <enum-value name="PublicKey" doc="/**
&lt;p&gt;A public key.&lt;/p&gt;
 */"/>
</enum>
    <enum name="KeyAlgorithm" doc="/**
&lt;p&gt;Describes the different key algorithms supported by QSslKey.&lt;/p&gt;
 */">
        <enum-value name="Rsa" doc="/**
&lt;p&gt;The RSA algorithm.&lt;/p&gt;
 */"/>
        <enum-value name="Dsa" doc="/**
&lt;p&gt;The DSA algorithm.&lt;/p&gt;
 */"/>
</enum>
    <enum name="SslProtocol" doc="/**
&lt;p&gt;Describes the protocol of the cipher.&lt;/p&gt;
 */">
        <enum-value name="SslV3" doc="/**
&lt;p&gt;SSLv3 - the default protocol.&lt;/p&gt;
 */"/>
        <enum-value name="SslV2" doc="/**
&lt;p&gt;SSLv2&lt;/p&gt;
 */"/>
        <enum-value name="TlsV1" doc="/**
&lt;p&gt;TLSv1&lt;/p&gt;
 */"/>
        <enum-value name="AnyProtocol" doc="/**
&lt;p&gt;The socket understands SSLv2, SSLv3, and TLSv1. This value is used by QSslSocket only.&lt;/p&gt;
 */"/>
        <enum-value name="UnknownProtocol" doc="/**
&lt;p&gt;The cipher's protocol cannot be determined.&lt;/p&gt;
 */"/>
</enum>
    <enum name="AlternateNameEntryType" doc="/**
&lt;p&gt;Describes the key types for alternate name entries in QSslCertificate.&lt;/p&gt;

@see &lt;tt&gt;QSslCertificate::alternateSubjectNames&lt;/tt&gt; */">
        <enum-value name="EmailEntry" doc="/**
&lt;p&gt;An email entry; the entry contains an email address that the certificate is valid for.&lt;/p&gt;
 */"/>
        <enum-value name="DnsEntry" doc="/**
&lt;p&gt;A DNS host name entry; the entry contains a host name entry that the certificate is valid for. The entry may contain wildcards.&lt;/p&gt;
 */"/>
</enum>
    <enum name="EncodingFormat" doc="/**
&lt;p&gt;Describes supported encoding formats for certificates and keys.&lt;/p&gt;
 */">
        <enum-value name="Pem" doc="/**
&lt;p&gt;The PEM format.&lt;/p&gt;
 */"/>
        <enum-value name="Der" doc="/**
&lt;p&gt;The DER format.&lt;/p&gt;
 */"/>
</enum>
</class>
