SecurityConfiguration
internal final class SecurityConfiguration
Represents a security configuration for cryptographic operations.
This class encapsulates a security configuration, including encryption algorithm and key derivation settings.
-
The encryption algorithm used in the security configuration.
Declaration
Swift
private(set) var encryption: EncryptionAlgorithm { get }
-
The key derivation algorithm based on the encryption algorithm.
Declaration
Swift
internal var keyDerivation: HashAlgorithm { get }
-
Initializes a
SecurityConfiguration
with the specifiedEncryptionAlgorithm
.Declaration
Swift
internal init(encryptionAlgorithm: EncryptionAlgorithm)
Parameters
encryptionAlgorithm
The
encryption algorithm
to use in the security configuration.