|
AusweisApp2
|
According to TR-03110-3 chapter D elliptic curve public keys are defined as follows: Mehr ...
#include <EcdsaPublicKey.h>
Öffentliche Methoden | |
| QByteArray | encode () |
| QByteArray | getPublicKeyOid () const |
| QByteArray | getPublicKeyOidValueBytes () const |
| QByteArray | getUncompressedPublicPoint () const |
| QSharedPointer< const EC_KEY > | getEcKey () const |
Öffentliche, statische Methoden | |
| static QSharedPointer < ecdsapublickey_st > | fromHex (const QByteArray &pHexValue) |
| static QSharedPointer < ecdsapublickey_st > | decode (const QByteArray &pBytes) |
| static int | decodeCallback (int pOperation, ASN1_VALUE **pVal, const ASN1_ITEM *pIt, void *pExarg) |
Öffentliche Attribute | |
| ASN1_OBJECT * | mObjectIdentifier |
| ASN1_OCTET_STRING * | mPrimeModulus |
| ASN1_OCTET_STRING * | mFirstCoefficient |
| ASN1_OCTET_STRING * | mSecondCoefficient |
| ASN1_OCTET_STRING * | mBasePoint |
| ASN1_OCTET_STRING * | mOrderOfTheBasePoint |
| ASN1_OCTET_STRING * | mPublicPoint |
| ASN1_OCTET_STRING * | mCofactor |
| QSharedPointer< EC_KEY > | mEcKey |
According to TR-03110-3 chapter D elliptic curve public keys are defined as follows:
EcdsaPubilcKey ::= [APPLICATION 0x49] IMPLICIT SEQUENCE { ObjectIdentifier OBJECT IDENTIFIER, PrimeModulus [0x01] IMPLICIT UnsignedInteger OPTIONAL FirstCoefficient [0x02] IMPLICIT UnsignedInteger OPTIONAL SecondCoefficient [0x03] IMPLICIT UnsignedInteger OPTIONAL BasePoint [0x04] IMPLICIT UncompressedEllipticCurvePoint OPTIONAL OrderOfTheBasePoint [0x05] IMPLICIT UnsignedInteger OPTIONAL PublicPoint [0x06] IMPLICIT UncompressedEllipticCurvePoint Cofactor [0x07] IMPLICIT UnsignedInteger OPTIONAL }
UncompressedEllipticCurvePoint ::= OCTET STRING – see TR-03111
UnsignedInteger – see TR-03110 D.2.1.1
|
static |
|
static |
| QByteArray EcdsaPublicKey::encode | ( | ) |
|
static |
| QSharedPointer< const EC_KEY > EcdsaPublicKey::getEcKey | ( | ) | const |
| QByteArray EcdsaPublicKey::getPublicKeyOid | ( | ) | const |
| QByteArray EcdsaPublicKey::getPublicKeyOidValueBytes | ( | ) | const |
Returns the raw bytes of the OID value, i.e. not the tag and not the length structure, but the value bytes.
| QByteArray EcdsaPublicKey::getUncompressedPublicPoint | ( | ) | const |
| ASN1_OCTET_STRING* governikus::ecdsapublickey_st::mBasePoint |
| ASN1_OCTET_STRING* governikus::ecdsapublickey_st::mCofactor |
| QSharedPointer<EC_KEY> governikus::ecdsapublickey_st::mEcKey |
| ASN1_OCTET_STRING* governikus::ecdsapublickey_st::mFirstCoefficient |
| ASN1_OBJECT* governikus::ecdsapublickey_st::mObjectIdentifier |
| ASN1_OCTET_STRING* governikus::ecdsapublickey_st::mOrderOfTheBasePoint |
| ASN1_OCTET_STRING* governikus::ecdsapublickey_st::mPrimeModulus |
| ASN1_OCTET_STRING* governikus::ecdsapublickey_st::mPublicPoint |
| ASN1_OCTET_STRING* governikus::ecdsapublickey_st::mSecondCoefficient |