encodeData (property)
Whether to automatically base64-encode and -decode secret data.
Syntax
@property (nonatomic,readwrite,assign,getter=encodeData,setter=setEncodeData:) BOOL encodeData; - (BOOL)encodeData; - (void)setEncodeData:(BOOL)newEncodeData;
public var encodeData: Bool { get {...}
set {...} }
Default Value
FALSE
Remarks
This property specifies whether the class should automatically base64-encode secret data when it is uploaded by CreateSecret, and base64-decode it when it is downloaded with GetSecret.
Secrets are stored on the server as strings, and are transported via a JSON string property, so binary values must be encoded in some way; this property is provided as a convenience.