KLayout Manual: Main Index » Class Index » API reference - Class QSslKey

API reference - Class QSslKey

Notation used in Ruby API documentation

Description: Binding of QSslKey

Public constructors

new QSslKeynewConstructor QSslKey::QSslKey()
new QSslKeynew(QIODevice ptr device,
const QSsl_KeyAlgorithm algorithm)
Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(QIODevice ptr device,
const QSsl_KeyAlgorithm algorithm,
const QSsl_EncodingFormat format)
Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(QIODevice ptr device,
const QSsl_KeyAlgorithm algorithm,
const QSsl_EncodingFormat format,
const QSsl_KeyType type)
Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(QIODevice ptr device,
const QSsl_KeyAlgorithm algorithm,
const QSsl_EncodingFormat format,
const QSsl_KeyType type,
string passPhrase)
Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(string encoded,
const QSsl_KeyAlgorithm algorithm)
Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(string encoded,
const QSsl_KeyAlgorithm algorithm,
const QSsl_EncodingFormat format)
Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(string encoded,
const QSsl_KeyAlgorithm algorithm,
const QSsl_EncodingFormat format,
const QSsl_KeyType type)
Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(string encoded,
const QSsl_KeyAlgorithm algorithm,
const QSsl_EncodingFormat format,
const QSsl_KeyType type,
string passPhrase)
Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)
new QSslKeynew(const QSslKey other)Constructor QSslKey::QSslKey(const QSslKey &other)

Public methods

[const]bool!=(const QSslKey key)Method bool QSslKey::operator!=(const QSslKey &key)
[const]bool==(const QSslKey key)Method bool QSslKey::operator==(const QSslKey &key)
[const]QSsl_KeyAlgorithmalgorithmMethod QSsl::KeyAlgorithm QSslKey::algorithm()
QSslKeyassign(const QSslKey other)Method QSslKey & QSslKey::operator=(const QSslKey &other)
[const]voidassign(const QSslKey other)Assign the contents of another object to self
voidclearMethod void QSslKey::clear()
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QSslKeydupCreates a copy of self
[const]unsigned longhandleMethod Qt::HANDLE QSslKey::handle()
[const]boolisNullMethod bool QSslKey::isNull()
[const]boolisNull?Method bool QSslKey::isNull()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]intlengthMethod int QSslKey::length()
[const]stringtoDerMethod QByteArray QSslKey::toDer(const QByteArray &passPhrase)
[const]stringtoDer(string passPhrase)Method QByteArray QSslKey::toDer(const QByteArray &passPhrase)
[const]stringtoPemMethod QByteArray QSslKey::toPem(const QByteArray &passPhrase)
[const]stringtoPem(string passPhrase)Method QByteArray QSslKey::toPem(const QByteArray &passPhrase)
[const]QSsl_KeyTypetypeMethod QSsl::KeyType QSslKey::type()

Detailed description

[const] bool !=(const QSslKey key)

Description: Method bool QSslKey::operator!=(const QSslKey &key)

[const] bool ==(const QSslKey key)

Description: Method bool QSslKey::operator==(const QSslKey &key)

[const] QSsl_KeyAlgorithm algorithm

Description: Method QSsl::KeyAlgorithm QSslKey::algorithm()

QSslKey assign(const QSslKey other)

Description: Method QSslKey & QSslKey::operator=(const QSslKey &other)

[const] void assign(const QSslKey other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

void clear

Description: Method void QSslKey::clear()

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] QSslKey dup

Description: Creates a copy of self

[const] unsigned long handle

Description: Method Qt::HANDLE QSslKey::handle()

[const] bool isNull

Description: Method bool QSslKey::isNull()

[const] bool isNull?

Description: Method bool QSslKey::isNull()

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] int length

Description: Method int QSslKey::length()

[static] new QSslKey new

Description: Constructor QSslKey::QSslKey()

This method creates an object of class QSslKey.

[static] new QSslKey new(QIODevice ptr device,const QSsl_KeyAlgorithm algorithm)

Description: Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(QIODevice ptr device,const QSsl_KeyAlgorithm algorithm,const QSsl_EncodingFormat format)

Description: Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(QIODevice ptr device,const QSsl_KeyAlgorithm algorithm,const QSsl_EncodingFormat format,const QSsl_KeyType type)

Description: Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(QIODevice ptr device,const QSsl_KeyAlgorithm algorithm,const QSsl_EncodingFormat format,const QSsl_KeyType type,string passPhrase)

Description: Constructor QSslKey::QSslKey(QIODevice *device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(string encoded,const QSsl_KeyAlgorithm algorithm)

Description: Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(string encoded,const QSsl_KeyAlgorithm algorithm,const QSsl_EncodingFormat format)

Description: Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(string encoded,const QSsl_KeyAlgorithm algorithm,const QSsl_EncodingFormat format,const QSsl_KeyType type)

Description: Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(string encoded,const QSsl_KeyAlgorithm algorithm,const QSsl_EncodingFormat format,const QSsl_KeyType type,string passPhrase)

Description: Constructor QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArray &passPhrase)

This method creates an object of class QSslKey.

[static] new QSslKey new(const QSslKey other)

Description: Constructor QSslKey::QSslKey(const QSslKey &other)

This method creates an object of class QSslKey.

[const] string toDer

Description: Method QByteArray QSslKey::toDer(const QByteArray &passPhrase)

[const] string toDer(string passPhrase)

Description: Method QByteArray QSslKey::toDer(const QByteArray &passPhrase)

[const] string toPem

Description: Method QByteArray QSslKey::toPem(const QByteArray &passPhrase)

[const] string toPem(string passPhrase)

Description: Method QByteArray QSslKey::toPem(const QByteArray &passPhrase)

[const] QSsl_KeyType type

Description: Method QSsl::KeyType QSslKey::type()