SymmetricEncryptionAttribute
Leave feedback
On this page
Instructs instances serialization to encrypt / decrypt object serialization string.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class SymmetricEncryptionAttribute : Attribute, IDataEncryption
| Name | Description |
|---|---|
| SymmetricEncryptionAttribute(SymmetricAlgorithmType, string) | Creates symmetric algorithm with parameters and default passphrase. |
| SymmetricEncryptionAttribute(SymmetricAlgorithmType, string, string) | Creates symmetric algorithm with parameters. |
| Name | Description |
|---|---|
| Decode(string) | Decrypts passed string based on algorithm type, key and salt parameters |
| Encode(string) | Encrypts string based on provided algorithm type, key and salt parameters |
- interface IDataEncryption
- namespace GroupDocs.Signature.Domain.Extensions
- assembly GroupDocs.Signature
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.