/// Example Implementation
using SanteDB.Core.Security.Services;
/// Other usings here
public class MySymmetricCryptographicProvider : SanteDB.Core.Security.Services.ISymmetricCryptographicProvider {
public String ServiceName => "My own ISymmetricCryptographicProvider service";
public Byte[] GetContextKey(){
throw new System.NotImplementedException();
}
public Boolean RotateContextKey(){
throw new System.NotImplementedException();
}
public Byte[] GenerateIV(){
throw new System.NotImplementedException();
}
public Byte[] GenerateKey(){
throw new System.NotImplementedException();
}
/// <summary>
/// Encrypts the sepcified data
/// </summary>
public Byte[] Encrypt(Byte[] data,Byte[] key,Byte[] iv){
throw new System.NotImplementedException();
}
/// <summary>
/// Decrypts the specified data
/// </summary>
public Byte[] Decrypt(Byte[] data,Byte[] key,Byte[] iv){
throw new System.NotImplementedException();
}
/// <summary>
/// Encrypts the sepcified data
/// </summary>
public Byte[] Encrypt(Byte[] data){
throw new System.NotImplementedException();
}
/// <summary>
/// Decrypts the specified data
/// </summary>
public Byte[] Decrypt(Byte[] data){
throw new System.NotImplementedException();
}
/// <summary>
/// Encrypts the sepcified data
/// </summary>
public String Encrypt(String data){
throw new System.NotImplementedException();
}
/// <summary>
/// Decrypts the specified data
/// </summary>
public String Decrypt(String data){
throw new System.NotImplementedException();
}
/// <summary>
/// Create a decrypting stream
/// </summary>
public Stream CreateEncryptingStream(Stream underlyingStream,Byte[] key,Byte[] iv){
throw new System.NotImplementedException();
}
/// <summary>
/// Create a decrypting stream
/// </summary>
public Stream CreateDecryptingStream(Stream underlyingStream,Byte[] key,Byte[] iv){
throw new System.NotImplementedException();
}
}