1 write to m_signature
System.Security (1)
system\security\cryptography\xml\signedxml.cs (1)
130
m_signature
= new Signature();
34 references to m_signature
System.Security (33)
system\security\cryptography\xml\signedxml.cs (33)
131
m_signature
.SignedXml = this;
132
m_signature
.SignedInfo = new SignedInfo();
187
get { return
m_signature
; }
191
get { return
m_signature
.SignedInfo; }
195
get { return
m_signature
.SignedInfo.SignatureMethod; }
199
get { return
m_signature
.SignedInfo.SignatureLength; }
203
get { return
m_signature
.SignatureValue; }
207
get { return
m_signature
.KeyInfo; }
208
set {
m_signature
.KeyInfo = value; }
214
return
m_signature
.GetXml(m_containingDocument);
216
return
m_signature
.GetXml();
223
m_signature
.LoadXml(value);
237
m_signature
.SignedInfo.AddReference(reference);
241
m_signature
.AddObject(dataObject);
388
m_signature
.SignatureValue = asymmetricSignatureFormatter.CreateSignature(hashAlg);
400
if (
m_signature
.SignedInfo.SignatureLength == null)
403
signatureLength = Convert.ToInt32(
m_signature
.SignedInfo.SignatureLength, null);
437
m_signature
.SignatureValue = new byte[signatureLength / 8];
438
Buffer.BlockCopy(hashValue, 0,
m_signature
.SignatureValue, 0, signatureLength / 8);
863
foreach (DataObject obj in
m_signature
.ObjectList) {
881
ArrayList references =
m_signature
.SignedInfo.References;
892
calculatedHash = digestedReference.CalculateHashValue(m_containingDocument,
m_signature
.ReferencedItems);
968
SignedXmlDebugLog.LogBeginCheckSignedInfo(this,
m_signature
.SignedInfo);
991
m_signature
.SignatureValue);
992
return asymmetricSignatureDeformatter.VerifySignature(hashval,
m_signature
.SignatureValue);
999
SignedXmlDebugLog.LogBeginCheckSignedInfo(this,
m_signature
.SignedInfo);
1002
if (
m_signature
.SignedInfo.SignatureLength == null)
1005
signatureLength = Convert.ToInt32(
m_signature
.SignedInfo.SignatureLength, null);
1012
if (
m_signature
.SignatureValue == null)
1014
if (
m_signature
.SignatureValue.Length != signatureLength / 8)
1019
SignedXmlDebugLog.LogVerifySignedInfo(this, macAlg, hashValue,
m_signature
.SignatureValue);
1020
for (int i=0; i<
m_signature
.SignatureValue.Length; i++) {
1021
if (
m_signature
.SignatureValue[i] != hashValue[i]) return false;
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
69
elem = SelectNodeByIdFromObjects(
m_signature
, idValue);