Contents

setSymmetricKey(_:)

Sets the symmetric encryption key that the context requires for symmetric encryption mode.

Declaration

func setSymmetricKey(_ key: SymmetricKey) throws

Parameters

  • key:

    The symmetric encryption key.

Discussion

Use this function to set the encryption key for a context with a symmetric profile.

See Also

Related Documentation

Setting and retrieving keys