Click or drag to resize

AesSymmetricCrypographicProvider Class

Represents a symmetric cryptographic provider based on AES
Inheritance Hierarchy
SystemObject
  SanteDB.Core.SecurityAesSymmetricCrypographicProvider

Namespace: SanteDB.Core.Security
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public class AesSymmetricCrypographicProvider : ISymmetricCryptographicProvider, 
	IServiceImplementation, IProvideBackupAssets, IRestoreBackupAssets

The AesSymmetricCrypographicProvider type exposes the following members.

Constructors
 NameDescription
Public methodAesSymmetricCrypographicProvider AES Symmetric crypto provider
Top
Properties
 NameDescription
Public propertyAssetClassIdentifiers The list of asset class identifiers this restore tool can restore
Public propertyBackupPriority Get the priority of the backup job (higher priority gets placed into thebackup file first)
Public propertyIVSize Gets the size of the IV this algorithm uses
Public propertyServiceName Service name
Top
Methods
 NameDescription
Public methodCreateDecryptingStream Create a decrypting stream
Public methodCreateEncryptingStream Create a decrypting stream
Public methodDecrypt(Byte) Decrypt data with the IV embedded in the return
Public methodDecrypt(String) Decrypt the string data and return a Base64 encoded version
Public methodDecrypt(Byte, Byte, Byte) Decrypt the specified data using the specified key and iv
Public methodEncrypt(Byte) Encrypt data with the IV embedded in the return
Public methodEncrypt(String) Encrypt the string data and return a Base64 encoded version
Public methodEncrypt(Byte, Byte, Byte) Encrypt the specified data using the specified key and iv
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateIV Generate a random IV
Public methodGenerateKey Generate key
Public methodGetBackupAssets Get the backup asset
Public methodGetContextKey Get the context default key
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRestore Restore the asset to the proper location
Public methodRotateContextKey Instructs the symmetric provider to rotate the key storage.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also