Click or drag to resize

ISymmetricCryptographicProvider Interface

Represents a crypto service provider that encrypts things using symmetric encryption

Namespace: SanteDB.Core.Security.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface ISymmetricCryptographicProvider : IServiceImplementation

The ISymmetricCryptographicProvider type exposes the following members.

Properties
 NameDescription
Public propertyIVSize Gets the size of the IV this algorithm uses
Public propertyServiceName Gets the service name
(Inherited from IServiceImplementation)
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) Decrypts the specified data
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) Encrypts the sepcified data
Public methodGenerateIV Generates an initialization vector
Public methodGenerateKey Generates a key
Public methodGetContextKey Gets the context key
Public methodRotateContextKey Instructs the symmetric provider to rotate the key storage.
Top
See Also