EncryptedData

public class EncryptedData : RSAData

Encrypted Data - Represents data encrypted.

Initializers

  • Initialize a new EncryptedData object.

    Declaration

    Swift

    public init(with data: Data)

    Parameters

    data

    Data containing the data.

    Return Value

    Newly initialized EncryptedData`.

  • Creates a RSAData with a encrypted base64-encoded string.

    Declaration

    Swift

    public override init(withBase64 base64String: String) throws

    Parameters

    base64String

    Base64-encoded data of an encrypted message

    Return Value

    Newly initialized RSAData.