MSProtector decryptAlignedBlocksWithStartingBlockNumber method
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Used to decrypt a block of encrypted data.
Signature
- (NSData *)decryptAlignedBlocksWithStartingBlockNumber:(NSUInteger)startingBlockNumber
encryptedData:(NSData *)encryptedData
isFinal:(BOOL)isFinal
error:(NSError **)errorPtr;
Parameters
Name | Datatype | Notes |
---|---|---|
startingBlockNumber |
NSUInteger |
|
encryptedData |
NSData * |
|
isFinal |
BOOL |
Set to TRUE for the last block, otherwise FALSE. |
errorPtr |
NSError ** |
Returns
Pointer to an NSData object containing the block of dencrypted data.
Defined in
MSProtection.h
Supported Platforms
Minimum supported OS versions |
iOS 7.0 and OS X 10.8 |
Remarks
templateListWithUserId should be invoked from the main thread.