Skip to content

interface IKeyEscrowSink

cangjie
public interface IKeyEscrowSink

功能:定义密钥托管接收器接口。

在新密钥被加密写入存储库之前,接收一份明文密钥材料副本。

成员概览

成员功能
func store(KeyIdentifier, JsonObject)存储指定密钥的托管信息。

func store(KeyIdentifier, JsonObject)

cangjie
func store(keyId: KeyIdentifier, element: JsonObject): Unit

功能:存储指定密钥的托管信息。

参数:

  • keyId: KeyIdentifier - 需要托管的密钥标识。
  • element: JsonObject - 包含明文密钥材料的 JSON 对象。

返回值:

  • Unit