diff options
| author | John Hurst <jhurst@cinecert.com> | 2020-09-08 16:05:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-08 16:05:24 -0700 |
| commit | d417531ed59434ecaee487adfdf54646408479bf (patch) | |
| tree | 426cea84214117d225303d6a3378a4bc097dcbeb /src/AS_DCP.h | |
| parent | 193f45b42bd675d4735c3e47c09a2b6bb8ca9621 (diff) | |
| parent | a4985b67a013b29520f289ff671516bc712de468 (diff) | |
Merge pull request #40 from msheby/expose-mic-key
add API call to expose the MIC key from an encrypted MXF
Diffstat (limited to 'src/AS_DCP.h')
| -rwxr-xr-x | src/AS_DCP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h index f089f06..fa8b00a 100755 --- a/src/AS_DCP.h +++ b/src/AS_DCP.h @@ -508,6 +508,11 @@ namespace ASDCP { // point to a readable area of memory that is at least HMAC_SIZE bytes in length. // Returns error if the buf argument is NULL or if the values do ot match. Result_t TestHMACValue(const byte_t* buf) const; + + // Writes MIC key to given buffer. buf must point to a writable area of + // memory that is at least KeyLen bytes in length. Returns error if the + // buf argument is NULL. + Result_t GetMICKey(byte_t* buf) const; }; //--------------------------------------------------------------------------------- |
