SecureBlackbox 2020 iOS Edition

Questions / Feedback?

protection (property)

Specifies a password protection level.

Syntax

@property (nonatomic,readwrite,assign,getter=protection,setter=setProtection:) int protection;
- (int)protection;
- (void)setProtection:(int)newProtection;

/* Possible Values */
PPT_NONE(0),
PPT_LOW(1),
PPT_NORMAL(2),
PPT_HIGH(3)
public var protection: PgpwriterProtections {
  get {...}
set {...} }
public enum PgpwriterProtections : Int32 { case pptNone = 0 case pptLow = 1 case pptNormal = 2 case pptHigh = 3 }

Default Value

0

Remarks

This property specifies the complexity of key derivation function for password-protected documents.

Allowed values:

pptNone0Key is not encrypted
pptLow1Only the password hash is used to derive the secret key
pptNormal2Password hash with salt is used to derive the secret key
pptHigh3Hash from multiple passwords and salt are used for key derivation

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 iOS Edition - Version 20.0 [Build 8166]