Skip to content

interface IAuthenticatedEncryptorFactory

cangjie
public interface IAuthenticatedEncryptorFactory

功能:定义创建认证加密器实例的工厂接口。

成员概览

成员功能
func createEncryptorInstance(IKey)根据指定密钥创建认证加密器实例。

func createEncryptorInstance(IKey)

cangjie
func createEncryptorInstance(key: IKey): ?IAuthenticatedEncryptor

功能:根据指定密钥创建认证加密器实例。

参数:

  • key: IKey - 用于创建加密器的密钥。

返回值: