mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
ndef cert right decode.
https://github.com/skjolber/ndef-tools-for-android/blob/master/ndeftools/src/org/ndeftools/wellknown/SignatureRecord.java https://github.com/nfcpy/ndeflib/blob/master/src/ndef/signature.py
This commit is contained in:
parent
04a6a63427
commit
53e0d03098
2 changed files with 80 additions and 26 deletions
|
@ -25,6 +25,21 @@ typedef enum {
|
|||
tnfUnchangedRecord = 0x06
|
||||
} TypeNameFormat_t;
|
||||
|
||||
typedef enum {
|
||||
stNotPresent = 0x00,
|
||||
stRSASSA_PSS_SHA_1 = 0x01,
|
||||
stRSASSA_PKCS1_v1_5_WITH_SHA_1 = 0x02,
|
||||
stDSA = 0x03,
|
||||
stECDSA = 0x04,
|
||||
stNA = 0x05
|
||||
} ndefSigType_t;
|
||||
|
||||
typedef enum {
|
||||
sfX_509 = 0x00,
|
||||
sfX9_68 = 0x01,
|
||||
sfNA = 0x02
|
||||
} ndefCertificateFormat_t;
|
||||
|
||||
typedef struct {
|
||||
bool MessageBegin;
|
||||
bool MessageEnd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue