Skip to content

6.2.0-RC1

Compare
Choose a tag to compare
@scanbot-ci scanbot-ci released this 17 Dec 14:23
· 45 commits to master since this release
  • 🎉 New:
    • Added support for encryption/decryption of images and PDF using the AES-GCM algorithm with random 96-bit initialization vectors and variable length authentication tags, as required for ePA-FdV-certification by gematik and BSI. See SBSDKAESGCMEncrypter class.
    • Added support for encryption key derivation using PBKDF2, HKDF and Random key derivation on both the standard AES encrypter (SBSDKAESEncrypter) and the new AES-GCM encrypter (SBSDKAESGCMEncrypter) with variable key lengths (128 and 256 bits). See the new protocol SBSDKStorageCryptingKeyGenerator and the new classes SBSDKRandomKeyGenerator, SBSDKPBKDF2KeyGenerator and SBSDKHKDFKeyGenerator.
    • Added protocol-based support for encryption key management. See the new protocol SBSDKStorageCryptingKeyProvider and the new class SBSDKVolatileKeyProvider.
    • Added new class SBSDKVolatileKeyProvider that stores, restores and deletes keys in memory per context. For a persistent storage, e.g. in the keychain or in a file, you can implement your own key provider by conforming to the SBSDKStorageCryptingKeyProvider protocol.
    • Added support for encryption/decryption on a encryption-key-per-context base. See SBSDKStorageCryptingKeyProvider and SBSDKStorageCrypting.
    • When storing files in image storages, with the PDF renderer, or the TIFF writer, a context in the form of the file URL is being passed to the encrypter APIs to allow for context-based key derivation.
    • Added new delegate method barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:) to SBSDKBarcodeTrackingOverlayControllerDelegate.