SFEncryptionKey Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SFEncryptionKey.h |
Overview
Data object representing a symmetric encryption key, with a key value and initialization vector.
– initWithData:initializationVector:
Designated initializer.
- (id)initWithData:(NSData *)keyData initializationVector:(nullable NSData *)ivParameters
keyData |
The key component, represented as NSData. |
|---|---|
iv |
The initialization vector, represented as NSData. |
Declared In
SFEncryptionKey.h
key
Key component of the object.
@property (nonatomic, copy, nullable) NSData *keyDeclared In
SFEncryptionKey.h
initializationVector
Initialization vector component of the object.
@property (nonatomic, copy) NSData *initializationVectorDeclared In
SFEncryptionKey.h
keyAsString
The base64 representation of the key data.
@property (nonatomic, readonly, nullable) NSString *keyAsStringDeclared In
SFEncryptionKey.h
initializationVectorAsString
The base64 representation of the initialization vector data.
@property (nonatomic, readonly, nullable) NSString *initializationVectorAsStringDeclared In
SFEncryptionKey.h