InputEncoding Property
The encoding to apply to the input data.
Syntax
public var inputEncoding: PublickeycryptoInputEncodings {
get {...}
set {...} }
public enum PublickeycryptoInputEncodings: 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 to apply to the input data.
cetDefault | 0 | The default encoding type in current circumstances. This depends on the operation and the type of the key being used. |
cetBinary | 1 | Raw binary encoding (no encoding) |
cetBase64 | 2 | Base64 encoding (armouring) |
cetCompact | 3 | JSON compact encoding |
cetJSON | 4 | JSON standard encoding |