AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
governikus::ecdsapublickey_st Strukturreferenz

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
 

Ausführliche Beschreibung

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

Dokumentation der Elementfunktionen

QSharedPointer< EcdsaPublicKey > EcdsaPublicKey::decode ( const QByteArray &  pBytes)
static
int governikus::EcdsaPublicKey::decodeCallback ( int  pOperation,
ASN1_VALUE **  pVal,
const ASN1_ITEM *  pIt,
void *  pExarg 
)
static
QByteArray EcdsaPublicKey::encode ( )

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

QSharedPointer< EcdsaPublicKey > EcdsaPublicKey::fromHex ( const QByteArray &  pHexValue)
static
QSharedPointer< const EC_KEY > EcdsaPublicKey::getEcKey ( ) const
QByteArray EcdsaPublicKey::getPublicKeyOid ( ) const

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

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.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

QByteArray EcdsaPublicKey::getUncompressedPublicPoint ( ) const

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Dokumentation der Datenelemente

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

Die Dokumentation für diese Struktur wurde erzeugt aufgrund der Dateien: