Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtNetwork.QSslKey Class Reference

The QSslKey class provides an interface for private and public keys. More...

Inheritance diagram for QtNetwork.QSslKey:
Collaboration diagram for QtNetwork.QSslKey:

Public Member Functions

override bool Equals (object o)
 
override int GetHashCode ()
 
 QSslKey ()
 
 
 QSslKey (QSslKey other)
 
 
 QSslKey (QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format=QSsl.EncodingFormat.Pem, QSsl.KeyType type=QSsl.KeyType.PrivateKey)
 
 
 QSslKey (QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format=QSsl.EncodingFormat.Pem, QSsl.KeyType type=QSsl.KeyType.PrivateKey)
 
 
 QSslKey (QByteArray encoded, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase)
 
 
 QSslKey (QIODevice device, QSsl.KeyAlgorithm algorithm, QSsl.EncodingFormat format, QSsl.KeyType type, QByteArray passPhrase)
 
 
virtual void CreateProxy ()
 
new QSsl.KeyAlgorithm Algorithm ()
 
 
new void Clear ()
 
 
new bool IsNull ()
 
 
new int Length ()
 
 
new QByteArray ToDer ()
 
 
new QByteArray ToDer (QByteArray passPhrase)
 
 
new QByteArray ToPem ()
 
 
new QByteArray ToPem (QByteArray passPhrase)
 
 
new QSsl.KeyType Type ()
 
 
new void Dispose ()
 

Static Public Member Functions

static bool operator!= (QSslKey arg1, QSslKey arg2)
 
 
static bool operator== (QSslKey arg1, QSslKey arg2)
 
 

Protected Member Functions

 QSslKey (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

QtNetwork.QSslKey.QSslKey ( QByteArray  encoded,
QSsl.KeyAlgorithm  algorithm,
QSsl.EncodingFormat  format = QSsl.EncodingFormat.Pem,
QSsl.KeyType  type = QSsl.KeyType.PrivateKey 
)

Constructs a null key.

See also isNull().

QtNetwork.QSslKey.QSslKey ( QIODevice  device,
QSsl.KeyAlgorithm  algorithm,
QSsl.EncodingFormat  format = QSsl.EncodingFormat.Pem,
QSsl.KeyType  type = QSsl.KeyType.PrivateKey 
)

Constructs a null key.

See also isNull().

QtNetwork.QSslKey.QSslKey ( QByteArray  encoded,
QSsl.KeyAlgorithm  algorithm,
QSsl.EncodingFormat  format,
QSsl.KeyType  type,
QByteArray  passPhrase 
)

Constructs a null key.

See also isNull().

QtNetwork.QSslKey.QSslKey ( QIODevice  device,
QSsl.KeyAlgorithm  algorithm,
QSsl.EncodingFormat  format,
QSsl.KeyType  type,
QByteArray  passPhrase 
)

Constructs a null key.

See also isNull().

Member Function Documentation

new QSsl.KeyAlgorithm QtNetwork.QSslKey.Algorithm ( )

Returns the key algorithm.

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 ( )
new bool QtNetwork.QSslKey.IsNull ( )

Returns true if this is a null key; otherwise false.

See also clear().

new int QtNetwork.QSslKey.Length ( )

Returns the length of the key in bits, or -1 if the key is null.

static bool QtNetwork.QSslKey.operator!= ( QSslKey  arg1,
QSslKey  arg2 
)
static

Returns true if this key is not equal to key other; otherwise returns false.

static bool QtNetwork.QSslKey.operator== ( QSslKey  arg1,
QSslKey  arg2 
)
static

Returns true if this key is equal to other; otherwise returns false.

new QByteArray QtNetwork.QSslKey.ToDer ( )

Returns the key in DER encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.

new QByteArray QtNetwork.QSslKey.ToDer ( QByteArray  passPhrase)

Returns the key in DER encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.

new QByteArray QtNetwork.QSslKey.ToPem ( )

Returns the key in PEM encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.

new QByteArray QtNetwork.QSslKey.ToPem ( QByteArray  passPhrase)

Returns the key in PEM encoding. The result is encrypted with passPhrase if the key is a private key and passPhrase is non-empty.

new QSsl.KeyType QtNetwork.QSslKey.Type ( )

Returns the type of the key (i.e., PublicKey or PrivateKey).

Member Data Documentation

SmokeInvocation QtNetwork.QSslKey.interceptor
protected

Property Documentation

virtual System.IntPtr QtNetwork.QSslKey.SmokeObject
getset