The QSslKey class provides an interface for private and public keys.
More...
|
override bool | Equals (object o) |
|
override int | GetHashCode () |
|
| QSslKey () |
| More...
|
|
| QSslKey (QSslKey other) |
| More...
|
|
| QSslKey (QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format=QSsl.EncodingFormat.Pem, QSsl.KeyType type=QSsl.KeyType.PrivateKey) |
| More...
|
|
| QSslKey (QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format=QSsl.EncodingFormat.Pem, QSsl.KeyType type=QSsl.KeyType.PrivateKey) |
| More...
|
|
| QSslKey (QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) |
| More...
|
|
| QSslKey (QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase) |
| More...
|
|
virtual void | CreateProxy () |
|
new void | Clear () |
| More...
|
|
new QByteArray | ToDer () |
| More...
|
|
new QByteArray | ToDer (QByteArray passPhrase) |
| More...
|
|
new QByteArray | ToPem () |
| More...
|
|
new QByteArray | ToPem (QByteArray passPhrase) |
| More...
|
|
new void | Dispose () |
|
The QSslKey class provides an interface for private and public keys.
QSslKey provides a simple API for managing keys.
See also QSslSocket, QSslCertificate, and QSslCipher.
QtNetwork.QSslKey.QSslKey |
( |
System.Type |
dummy | ) |
|
|
protected |
QtNetwork.QSslKey.QSslKey |
( |
| ) |
|
Constructs a null key.
See also isNull().
QtNetwork.QSslKey.QSslKey |
( |
QSslKey |
other | ) |
|
Constructs an identical copy of other.
Constructs a QSslKey by decoding the string in the byte array encoded using a specified algorithm and encoding format. If the encoded key is encrypted, passPhrase is used to decrypt it. type specifies whether the key is public or private.
After construction, use isNull() to check if encoded contained a valid key.
Constructs a QSslKey by reading and decoding data from a device using a specified algorithm and encoding format. If the encoded key is encrypted, passPhrase is used to decrypt it. type specifies whether the key is public or private.
After construction, use isNull() to check if device provided a valid key.
Constructs a QSslKey by decoding the string in the byte array encoded using a specified algorithm and encoding format. If the encoded key is encrypted, passPhrase is used to decrypt it. type specifies whether the key is public or private.
After construction, use isNull() to check if encoded contained a valid key.
Constructs a QSslKey by reading and decoding data from a device using a specified algorithm and encoding format. If the encoded key is encrypted, passPhrase is used to decrypt it. type specifies whether the key is public or private.
After construction, use isNull() to check if device provided a valid key.
new void QtNetwork.QSslKey.Clear |
( |
| ) |
|
Clears the contents of this key, making it a null key.
See also isNull().
virtual void QtNetwork.QSslKey.CreateProxy |
( |
| ) |
|
|
virtual |
new void QtNetwork.QSslKey.Dispose |
( |
| ) |
|
override bool QtNetwork.QSslKey.Equals |
( |
object |
o | ) |
|
override int QtNetwork.QSslKey.GetHashCode |
( |
| ) |
|
Returns true if this key is not equal to key other; otherwise returns false.
Returns true if this key is equal to other; otherwise returns false.
Returns the key in DER encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.
Returns the key in DER encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.
Returns the key in PEM encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.
Returns the key in PEM encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.
SmokeInvocation QtNetwork.QSslKey.interceptor |
|
protected |
Returns the key algorithm.
bool QtNetwork.QSslKey.IsNull |
|
get |
Returns true if this is a null key; otherwise false.
See also clear().
int QtNetwork.QSslKey.Length |
|
get |
Returns the length of the key in bits, or -1 if the key is null.
virtual System.IntPtr QtNetwork.QSslKey.SmokeObject |
|
getset |
Returns the type of the key (i.e., PublicKey or PrivateKey).