Class EncryptedObject
An EncryptedObject does not contain any plain text but only information necessary to decrypt and authenticate the original data. The decrypted cipher text contains the original objects JSON serialization. The abstract class EncryptedObject contains mandatory attributes for all encrypted object types. Please see EncryptedObjectAEAD, EncryptedObjectPublicKeyBox, EncryptedObjectPKCS7.
Inheritance
System.Object
EncryptedObject
Inherited Members
Namespace: BO4E.BO
Assembly: BO4E-dotnet.Extensions.Encryption.dll
Syntax
public abstract class EncryptedObject : BusinessObject
Constructors
| Improve this Doc View SourceEncryptedObject(String, EncryptionScheme)
create a new EncryptedObject instance by providing both
Declaration
public EncryptedObject(string _cipherText, EncryptionScheme es)
Parameters
Type | Name | Description |
---|---|---|
System.String | _cipherText | the cipher text (bae64 encoded string) |
EncryptionScheme | es | the encryption scheme |
Properties
| Improve this Doc View SourceCipherText
base64 encoded cipher text of the original objects JSON serialisation
Declaration
public string CipherText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EncryptionScheme
encryption scheme used
Declaration
public EncryptionScheme EncryptionScheme { get; set; }
Property Value
Type | Description |
---|---|
EncryptionScheme |