Beispiel #1
0
 private void AddGeneratedSignatureValue(byte[] signatureValue, bool wasEncrypted)
 {
     // cache outgoing signatures only on the client side
     if (MaintainSignatureConfirmationState && (_signatureConfirmationsToSend == null))
     {
         if (_signatureValuesGenerated == null)
         {
             _signatureValuesGenerated = new SignatureConfirmations();
         }
         _signatureValuesGenerated.AddConfirmation(signatureValue, wasEncrypted);
     }
 }
Beispiel #2
0
 protected virtual ISignatureValueSecurityElement[] CreateSignatureConfirmationElements(SignatureConfirmations signatureConfirmations)
 {
     throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
                                                                   SR.Format(SR.SignatureConfirmationNotSupported)));
 }
Beispiel #3
0
 public void AddSignatureConfirmations(SignatureConfirmations confirmations)
 {
     ThrowIfProcessingStarted();
     _signatureConfirmationsToSend = confirmations;
 }