I_IrmCrypt.HrGetBlockSize Method

Applies to: SharePoint Foundation 2010

Returns the size, in bytes, of the block to be encrypted or decrypted.

HRESULT HrGetBlockSize(
    DWORD *pdwBlockSize
) PURE;

Parameters

pdwBlockSize

[out] The size, in bytes, of the block to be encrypted or decrypted. The default is 8 bytes.

Remarks

The I_IrmCrypt.HrEncrypt Method and I_IrmCrypt.HrDecrypt Method methods of the I_IrmCrypt Class object are block based. Data chunks sent by these methods must be passed in such a way that their sizes are multiples of the block size set here.

See Also

Reference

I_IrmProtector Interface

I_IrmPolicyInfoRMS Class

I_IrmCrypt Class

Concepts

Information Rights Management in SharePoint Foundation

Custom IRM Protectors