public bool Decrypt(CryptoClient.ServiceReference.AlgorithmProperties MetaData, System.IO.Stream Data) { CryptoClient.ServiceReference.EncryptFileMessage inValue = new CryptoClient.ServiceReference.EncryptFileMessage(); inValue.MetaData = MetaData; inValue.Data = Data; CryptoClient.ServiceReference.EncryptFileResponse retVal = ((CryptoClient.ServiceReference.IService)(this)).Decrypt(inValue); return(retVal.Finished); }
public System.Threading.Tasks.Task <CryptoClient.ServiceReference.EncryptFileResponse> DecryptAsync(CryptoClient.ServiceReference.AlgorithmProperties MetaData, System.IO.Stream Data) { CryptoClient.ServiceReference.EncryptFileMessage inValue = new CryptoClient.ServiceReference.EncryptFileMessage(); inValue.MetaData = MetaData; inValue.Data = Data; return(((CryptoClient.ServiceReference.IService)(this)).DecryptAsync(inValue)); }
public EncryptFileMessage(CryptoClient.ServiceReference.AlgorithmProperties MetaData, System.IO.Stream Data) { this.MetaData = MetaData; this.Data = Data; }