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[]

일반 텍스트 데이터의 보호된 형식입니다.

적용 대상