ChipAuthenticationSecurityProtocol
internal enum ChipAuthenticationSecurityProtocol : UInt8, SecurityProtocol
The ChipAuthenticationASecurityProtocol enum represents various security protocols used in Chip Authentication for
electronic Machine Readable Travel Documents (eMRTD).
These protocols are identified by a unique ObjectIdentifier (OID) and
specific EncryptionAlgorithm and KeyAgreementAlgorithm.
-
Chip Authentication security protocol using DH key agreement with 3DES encryption and CBC chaining mode.
Declaration
Swift
case ID_CA_DH_3DES_CBC_CBC = 0x01 -
Chip Authentication security protocol using DH key agreement with AES-128 encryption and CMAC.
Declaration
Swift
case ID_CA_DH_AES_CBC_CMAC_128 = 0x02 -
Chip Authentication security protocol using DH key agreement with AES-192 encryption and CMAC.
Declaration
Swift
case ID_CA_DH_AES_CBC_CMAC_192 = 0x03 -
Chip Authentication security protocol using DH key agreement with AES-256 encryption and CMAC.
Declaration
Swift
case ID_CA_DH_AES_CBC_CMAC_256 = 0x04
-
Chip Authentication security protocol using ECDH key agreement with 3DES encryption and CBC chaining mode.
Declaration
Swift
case ID_CA_ECDH_3DES_CBC_CBC = 0x10 -
Chip Authentication security protocol using ECDH key agreement with AES-128 encryption and CMAC.
Declaration
Swift
case ID_CA_ECDH_AES_CBC_CMAC_128 = 0x20 -
Chip Authentication security protocol using ECDH key agreement with AES-192 encryption and CMAC.
Declaration
Swift
case ID_CA_ECDH_AES_CBC_CMAC_192 = 0x30 -
Chip Authentication security protocol using ECDH key agreement with AES-256 encryption and CMAC.
Declaration
Swift
case ID_CA_ECDH_AES_CBC_CMAC_256 = 0x40 -
The
ObjectIdentifier(OID) representing the Chip Authentication security protocol.Declaration
Swift
internal var oid: ObjectIdentifier { get } -
The
EncryptionAlgorithmassociated with the Chip Authentication security protocol.Declaration
Swift
internal var usedEncryptionAlgorithm: EncryptionAlgorithm { get } -
The
KeyAgreementAlgorithmassociated with the Chip Authentication security protocol.Declaration
Swift
internal var usedKeyAgreementAlgorithm: KeyAgreementAlgorithm { get }
View on GitHub
ChipAuthenticationSecurityProtocol Enumeration Reference