Decrypt_GCEncryptionHandler Class Reference

Decrypting GCReader encryption handler. More...

#include <crypto_asdcp.h>

Inheritance diagram for Decrypt_GCEncryptionHandler:

GCReadHandler_Base RefCount IRefCount List of all members.

Public Member Functions

 Decrypt_GCEncryptionHandler (UInt32 BodySID, DataChunkPtr KeyID, std::string KeyFileName)
 Construct a handler for a specified BodySID.
virtual bool HandleData (GCReaderPtr Caller, KLVObjectPtr Object)
 Handle a "chunk" of data that has been read from the file.
bool KeyValid (void)
 Determin if a valid key has been set.

Protected Attributes

UInt32 OurSID
 The BodySID of this essence.
DataChunk DecKey
 The decryption key we will use.

Private Member Functions

 Decrypt_GCEncryptionHandler ()
 Don't allow standard construction.

Detailed Description

Decrypting GCReader encryption handler.


Constructor & Destructor Documentation

Decrypt_GCEncryptionHandler (  )  [private]

Don't allow standard construction.

Decrypt_GCEncryptionHandler ( UInt32  BodySID,
DataChunkPtr  KeyID,
std::string  KeyFileName 
)

Construct a handler for a specified BodySID.


Member Function Documentation

bool HandleData ( GCReaderPtr  Caller,
KLVObjectPtr  Object 
) [virtual]

Handle a "chunk" of data that has been read from the file.

Returns:
true if all OK, false on error

Implements GCReadHandler_Base.

bool KeyValid ( void   )  [inline]

Determin if a valid key has been set.


Member Data Documentation

UInt32 OurSID [protected]

The BodySID of this essence.

DataChunk DecKey [protected]

The decryption key we will use.


The documentation for this class was generated from the following files:
Generated on Mon Apr 2 15:20:56 2007 for MXFLib by  doxygen 1.5.1-p1