dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
DexppCertificate Struct Reference

An X.509 certificate that signed the APK. More...

#include <dexpp.h>

Public Attributes

uint8_t * der
 The certificate in DER form.
 
size_t der_length
 Number of DER bytes.
 
char * subject
 e.g. "C=US, O=Example, CN=App".
 
char * issuer
 The issuer, in the same form.
 
char * serial_hex
 The serial number, lowercase hex.
 
char * not_before
 Start of validity, "YYYY-MM-DDTHH:MM:SSZ".
 
char * not_after
 End of validity, same form.
 
char * sha1_hex
 SHA-1 fingerprint, lowercase hex.
 
char * sha256_hex
 SHA-256 fingerprint, lowercase hex.
 
int self_signed
 1 when subject and issuer are the same.
 

Detailed Description

An X.509 certificate that signed the APK.

Member Data Documentation

◆ der

uint8_t* DexppCertificate::der

The certificate in DER form.

◆ der_length

size_t DexppCertificate::der_length

Number of DER bytes.

◆ subject

char* DexppCertificate::subject

e.g. "C=US, O=Example, CN=App".

◆ issuer

char* DexppCertificate::issuer

The issuer, in the same form.

◆ serial_hex

char* DexppCertificate::serial_hex

The serial number, lowercase hex.

◆ not_before

char* DexppCertificate::not_before

Start of validity, "YYYY-MM-DDTHH:MM:SSZ".

◆ not_after

char* DexppCertificate::not_after

End of validity, same form.

◆ sha1_hex

char* DexppCertificate::sha1_hex

SHA-1 fingerprint, lowercase hex.

◆ sha256_hex

char* DexppCertificate::sha256_hex

SHA-256 fingerprint, lowercase hex.

◆ self_signed

int DexppCertificate::self_signed

1 when subject and issuer are the same.


The documentation for this struct was generated from the following file: