Protocols

The following protocols are available globally.

  • To avoid accidental confusion if data is encrypted or not, this protocol can be used to indicate that a data object is encrypted. The actual encrypted bytes can be retrieved by accessing bytes. In contrast to Ciphertext classes or structs deriving from EncryptedData can contain additinal information such as a message authentication code et cetera.

    See more

    Declaration

    Swift

    public protocol EncryptedData