Actions
Task #2750
closedCreate TLV format for encrypted content
Start date:
04/15/2015
Due date:
% Done:
100%
Estimated time:
Description
The encrypted content is defined as:
Content ::= CONTENT-TYPE TLV-LENGTH
EncryptedContent
EncryptedContent ::= ENCRYPTED-CONTENT-TYPE TLV-LENGTH
EncryptionKeyLocator
EncryptionAlgorithm
EncryptedPayLoad
EncryptionKeyLocator ::= ENCRYPTION-KEY-LOCATOR-TYPE TLV-LENGTH
Name // name of encrypting key
EncryptionAlgorithm ::= ENCRYPTION-ALOGRITHM-TYPE TLV-LENGTH
nonNegativeInteger // algorithm id
EncryptedPayLoad ::= ENCRYPTED-PAYLOAD-TYPE TLV-LENGTH
BYTE+
To implement the abstraction, please take the signature-info TLV implementation as an example.
Signature-info TLV definition:
Signature-info TLV encode/decoding implementation:
Actions