SecureBlackbox 2020 macOS Edition

Questions / Feedback?

OutputEncoding Property

The encoding type to apply to the output data.

Syntax

public var outputEncoding: PublickeycryptoOutputEncodings {
get {...}
set {...} }

public enum PublickeycryptoOutputEncodings: Int32 { case cetDefault = 0 case cetBinary = 1 case cetBase64 = 2 case cetCompact = 3 case cetJSON = 4 }

Default Value

0

Remarks

Use this property to specify the encoding type to apply to the protected data.

cetDefault0The default encoding type in current circumstances. This depends on the operation and the type of the key being used.

cetBinary1Raw binary encoding (no encoding)

cetBase642Base64 encoding (armouring)

cetCompact3JSON compact encoding

cetJSON4JSON standard encoding

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