AusweisApp
Lade ...
Suche ...
Keine Treffer
EcUtil.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include <QByteArray>
12#include <QSharedPointer>
13
14#include <openssl/bn.h>
15#include <openssl/ec.h>
16#include <openssl/ecdsa.h>
17#include <openssl/evp.h>
18
19#include <functional>
20
21namespace governikus
22{
23
47
48
58
59
61{
62 static auto deleter = [](EC_KEY* ecKey)
63 {
65 };
66
68}
69
70
80
81
91
92
94{
95 static auto deleter = [](EVP_PKEY* key)
96 {
98 };
99
101}
102
103
113
114
115} // namespace governikus
Definition EcUtil.h:25
static QByteArray point2oct(const QSharedPointer< const EC_GROUP > &pCurve, const EC_POINT *pPoint, bool pCompressed=false)
Definition EcUtil.cpp:31
static QSharedPointer< EC_GROUP > createCurve(int pNid)
Definition EcUtil.cpp:19
static QSharedPointer< EC_KEY > generateKey(const QSharedPointer< const EC_GROUP > &pCurve)
Definition EcUtil.cpp:91
static QSharedPointer< EC_POINT > oct2point(const QSharedPointer< const EC_GROUP > &pCurve, const QByteArray &pCompressedData)
Definition EcUtil.cpp:67
static QSharedPointer< EC_GROUP > create(EC_GROUP *pEcGroup)
Definition EcUtil.h:49
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114