Key encoding
DiME, the open and trust-based data format building secure Application-based Public-Key Infrastructures (APKIs) in a breeze.
Last updated
Was this helpful?
DiME, the open and trust-based data format building secure Application-based Public-Key Infrastructures (APKIs) in a breeze.
Last updated
Was this helpful?
This section relates on how raw key data is encoded. The encoding of DiME key items is outlined in the previous chapter . As with the overall DiME item, Base64 is also used to encode raw key material.
The ‘key’ claim contains the secret key whereas the ‘pub’ claim contains the public key. The cryptographic suite used to generate the key is indicated by the initial header (‘DSC’). For more information about suites, see the chapter , which details out the use of cryptographic suites.