コード例 #1
0
 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);
 }
コード例 #2
0
 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));
 }
コード例 #3
0
 public EncryptFileMessage(CryptoClient.ServiceReference.AlgorithmProperties MetaData, System.IO.Stream Data)
 {
     this.MetaData = MetaData;
     this.Data     = Data;
 }