SecureLogAPI 2.0.0
Loading...
Searching...
No Matches
SecureLogConfig Class Reference

#include <SecureLogConfig.h>

Inheritance diagram for SecureLogConfig:

Instance Methods

(instancetype) - NS_UNAVAILABLE
(instancetype) - initWithConfigComponentsBuilder:
 Init secure log config with components builder.

Properties

NSString * fileID
NSData * publicKeyModulus
NSData * publicKeyExponent
NSURL * directory
NSUInteger rollingFileMaxCount
NSUInteger rollingSizeInKB
SecureLogLevel logLevel

Detailed Description

The class to provide initialisation function to initialise SecureLog config, it takes the parameters from SecureLogConfigComponents. All of parameters is read-only and can't be changed after the initWithConfigComponentsBuilder function is called

Method Documentation

◆ initWithConfigComponentsBuilder:

- (instancetype) initWithConfigComponentsBuilder: (void(^)(SecureLogConfigComponents *)) componentsBuilder

Init secure log config with components builder.

Parameters
componentsBuildercomponents builder.
Returns
Instance of secure log config.

◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE

There is no direct init function available. The init function shall be done via SecureLogConfigComponents and return SecureLogConfig object to use

Property Documentation

◆ directory

- (NSURL*) directory
readnonatomicstrong

Get the config logs directory.

◆ fileID

- (NSString*) fileID
readnonatomicstrong

Get the config file Id.

◆ logLevel

- (SecureLogLevel) logLevel
readnonatomicassign

Get the config log level.

◆ publicKeyExponent

- (NSData*) publicKeyExponent
readnonatomicstrong

Get the config public key exponent.

◆ publicKeyModulus

- (NSData*) publicKeyModulus
readnonatomicstrong

Get the config public key modulus.

◆ rollingFileMaxCount

- (NSUInteger) rollingFileMaxCount
readnonatomicassign

Get the config rolling file max count.

◆ rollingSizeInKB

- (NSUInteger) rollingSizeInKB
readnonatomicassign

Get the config rolling size.