diff --git a/TunnelKit/Sources/Core/SessionProxy+Configuration.swift b/TunnelKit/Sources/Core/SessionProxy+Configuration.swift index 0a0d0bf8..d647a8ad 100644 --- a/TunnelKit/Sources/Core/SessionProxy+Configuration.swift +++ b/TunnelKit/Sources/Core/SessionProxy+Configuration.swift @@ -55,6 +55,11 @@ extension SessionProxy { /// AES encryption with 256-bit key size and GCM. case aes256gcm = "AES-256-GCM" + + /// Digest should be ignored when this is `true`. + public var embedsDigest: Bool { + return rawValue.hasSuffix("-GCM") + } } /// The available message digest algorithms.