SymmetricEncryptionAttribute
SymmetricEncryptionAttribute class
インスタンスのシリアル化に、オブジェクトのシリアル化文字列を暗号化/復号化するよう指示します。
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class SymmetricEncryptionAttribute : Attribute, IDataEncryption
コンストラクター
| 名前 | 説明 | 
|---|---|
| SymmetricEncryptionAttribute(SymmetricAlgorithmType, string) | パラメーターとデフォルトのパスフレーズを使用して対称アルゴリズムを作成します。 | 
| SymmetricEncryptionAttribute(SymmetricAlgorithmType, string, string) | パラメーターを使用して対称アルゴリズムを作成します。 | 
メソッド
| 名前 | 説明 | 
|---|---|
| Decode(string) | 渡された文字列をアルゴリズムの種類、キー、およびソルト パラメータに基づいて復号化します | 
| Encode(string) | 提供されたアルゴリズム タイプ、キー、およびソルト パラメータに基づいて文字列を暗号化します | 
関連項目
- interface IDataEncryption
 - 名前空間 GroupDocs.Signature.Domain.Extensions
 - 組み立て GroupDocs.Signature