|
easyssl 0.91.3c571d2
EasySSL is base back end library for your c++ Qt projects.
|
The ECDSASSL class is ecdsa implementation of the Async authentication. This implementation based on Openssl library. More...
#include <ecdsassl.h>
Public Member Functions | |
| ECDSASSL (EllipticCurveStandart curveStandart=EllipticCurveStandart::P_256) | |
| Features | supportedFeatures () const override |
| supportedFeatures This method should return supported featurs of the current encryption algorithm | |
| QSsl::KeyAlgorithm | keyAlgorithm () const override |
| keyAlgorithm This method should be return Qt Key algorithm (needed for generate cetrificates.) | |
| QByteArray | signMessage (const QByteArray &inputData, const QByteArray &key) const override |
| signMessage This method should be sign the message using the key. | |
| bool | checkSign (const QByteArray &inputData, const QByteArray &signature, const QByteArray &key) const override |
| checkSign This method should be check signature of the message using the key. | |
| QByteArray | decrypt (const QByteArray &message, const QByteArray &key) override |
| decrypt This method has empty implementation. | |
| QByteArray | encrypt (const QByteArray &message, const QByteArray &key) override |
| encrypt This method has empty implementation. | |
| EllipticCurveStandart | curve () const |
| curve This method returns the current curve method. Using only for generating new pair of keys. | |
| void | setCurve (EllipticCurveStandart newCurve) |
| setCurve This method sets new curve standart value. | |
| void * | makeRawKeys () const override |
| makeKeys This method generate the public and private keys of the ECDSA. | |
Public Member Functions inherited from EasySSL::ICrypto | |
| bool | makeKeys (QByteArray &pubKey, QByteArray &privKey) const |
| makeKeys This method generate the public and private keys of the ECDSA. | |
Additional Inherited Members | |
Public Types inherited from EasySSL::ICrypto | |
| enum | Features { Signing = 0x01 , Encryption = 0x02 } |
| The Features enum this is list of the supported description features. More... | |
The ECDSASSL class is ecdsa implementation of the Async authentication. This implementation based on Openssl library.
Definition at line 20 of file ecdsassl.h.


| EasySSL::ECDSASSL::ECDSASSL | ( | EllipticCurveStandart | curveStandart = EllipticCurveStandart::P_256 | ) |
|
overridevirtual |
checkSign This method should be check signature of the message using the key.
| message | This is input data that should be decrypted. |
| signature | This is signature that will be checked for the message. |
| key | This is a public key for encryption the inpputData. |
Implements EasySSL::ICrypto.
Definition at line 124 of file ecdsassl.cpp.

| ECDSASSL::EllipticCurveStandart EasySSL::ECDSASSL::curve | ( | ) | const |
curve This method returns the current curve method. Using only for generating new pair of keys.
Definition at line 176 of file ecdsassl.cpp.
|
overridevirtual |
decrypt This method has empty implementation.
Implements EasySSL::ICrypto.
Definition at line 168 of file ecdsassl.cpp.
|
overridevirtual |
encrypt This method has empty implementation.
Implements EasySSL::ICrypto.
Definition at line 172 of file ecdsassl.cpp.
|
overridevirtual |
keyAlgorithm This method should be return Qt Key algorithm (needed for generate cetrificates.)
Implements EasySSL::ICrypto.
Definition at line 64 of file ecdsassl.cpp.
|
overridevirtual |
makeKeys This method generate the public and private keys of the ECDSA.
Implements EasySSL::ICrypto.
Definition at line 33 of file ecdsassl.cpp.

| void EasySSL::ECDSASSL::setCurve | ( | EllipticCurveStandart | newCurve | ) |
setCurve This method sets new curve standart value.
| newCurve | this is new value of curve standart. |
Definition at line 180 of file ecdsassl.cpp.

|
overridevirtual |
signMessage This method should be sign the message using the key.
| message | This is input data that should be signed. |
| key | This is a privete key for encryption the message. |
Implements EasySSL::ICrypto.
Definition at line 68 of file ecdsassl.cpp.

|
overridevirtual |
supportedFeatures This method should return supported featurs of the current encryption algorithm
Implements EasySSL::ICrypto.
Definition at line 60 of file ecdsassl.cpp.