EMCEncryptionVersion

Objective-C

enum EMCEncryptionVersion : NSUInteger {}

Swift

enum EMCEncryptionVersion : UInt, @unchecked Sendable

The encryption version of the CAS Server

Since

6.1.0
  • Encryption version 1

    Declaration

    Objective-C

    EMCEncryptionVersion1

    Swift

    case version1 = 0
  • Encryption version 2. This version uses more secure OAEP padding, the authentication requests to server MUST be version 2 (although EMCEncryptionVersion1 is still supported for legacy reasons)

    Declaration

    Objective-C

    EMCEncryptionVersion2

    Swift

    case version2 = 1