cloak v0.4.0 Cloak.Tags.Decoder View Source

A decoder that will let us read tags specified in the Format specified by the Cloak.Tags.Encoder

This scheme follows a Type, Length, Value triplet and is based on DER encoding for certificates https://en.wikipedia.org/wiki/X.690#DER_encoding

It returns a map containing the key_tag and the remainder of the binary which we can use to decode the ciphertext.

Link to this section Summary

Link to this section Functions