ITimeLimitedDataProtector.Protect(Byte[], DateTimeOffset) メソッド

定義

プレーンテキスト データの一部を暗号化的に保護し、選択した時刻にデータの有効期限が切れる。

public:
 cli::array <System::Byte> ^ Protect(cli::array <System::Byte> ^ plaintext, DateTimeOffset expiration);
public byte[] Protect (byte[] plaintext, DateTimeOffset expiration);
abstract member Protect : byte[] * DateTimeOffset -> byte[]
Public Function Protect (plaintext As Byte(), expiration As DateTimeOffset) As Byte()

パラメーター

plaintext
Byte[]

保護するプレーンテキスト データ。

expiration
DateTimeOffset

このペイロードの有効期限が切れる時刻。

戻り値

Byte[]

プレーンテキスト データの保護された形式。

適用対象