Conversation
| SCION-CP-PKI-TRC { | ||
| iso(1) identified-organization(3) dod(6) internet(1) security(5) | ||
| mechanisms(5) pkix(7) id-mod(0) id-mod-scion-pki-trc(99) | ||
| } |
There was a problem hiding this comment.
I'm not sure about this section
|
I tried to build an ASN.1 module for TRCs based on what is in docs and in the draft already, then use it to verify that the SSFN & SSUN TRCs can somehow be verified. I used code generated by the ASN.1 compiler asn1c. I think what is on docs is outdated and that there are some differences. This is what I did:
Looking at the TRC content, I see a few things that maybe don't match the ASN.1 module (see comments). I got as far as this, I need support from someone more familiar with this. |
| TRCPayload ::= SEQUENCE { | ||
| version TRCFormatVersion, | ||
| iD TRCID, | ||
| validity Validity, |
There was a problem hiding this comment.
In the version on docs.scion.org, Validity his is defined, while it can perhaps be imported.
| ISD ::= INTEGER (1..65535) | ||
|
|
||
|
|
||
| ASN ::= INTEGER (1..281474976710655) |
There was a problem hiding this comment.
AS numbers in TRCs seems using a PRINTABLESTRING while the ASN.1 module uses INTEGER (1..281474976710655)
Resolves #28