MSProtector class

[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.]

Enables you to encrypt or decrypt any chunk of data and manage the stream.

Signature

@interface MSProtector : NSObject

Properties

Name Description
blockSize
Minimum block size decryption/encryption

Methods

Name Description
initWithUserPolicy
Used to initialize an MSProtector object with an MSUserPolicy.
encryptAlignedBlocksWithStartingBlockNumber
Used to encrypt a block of unencrypted data.
decryptAlignedBlocksWithStartingBlockNumber
Used to decrypt a block of encrypted data.

Defined in

MSProtection.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8

Thread Safety

Members of this class are not guaranteed to be thread safe.