1 write to m_signature
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\SignedXml.cs (1)
129
m_signature
= new Signature();
35 references to m_signature
System.Security.Cryptography.Xml (35)
System\Security\Cryptography\Xml\SignedXml.cs (35)
112
[MemberNotNull(nameof(
m_signature
))]
130
m_signature
.SignedXml = this;
131
m_signature
.SignedInfo = new SignedInfo();
192
get { return
m_signature
; }
197
get { return
m_signature
.SignedInfo; }
202
get { return
m_signature
.SignedInfo!.SignatureMethod; }
207
get { return
m_signature
.SignedInfo!.SignatureLength; }
212
get { return
m_signature
.SignatureValue; }
217
get { return
m_signature
.KeyInfo; }
218
set {
m_signature
.KeyInfo = value; }
225
return
m_signature
.GetXml(_containingDocument);
227
return
m_signature
.GetXml();
242
m_signature
.LoadXml(value);
255
m_signature
.SignedInfo!.AddReference(reference);
260
m_signature
.AddObject(dataObject);
483
m_signature
.SignatureValue = asymmetricSignatureFormatter.CreateSignature(hashAlg);
503
if (
m_signature
.SignedInfo!.SignatureLength == null)
506
signatureLength = Convert.ToInt32(
m_signature
.SignedInfo.SignatureLength, null);
527
m_signature
.SignatureValue = new byte[signatureLength / 8];
528
Buffer.BlockCopy(hashValue, 0,
m_signature
.SignatureValue, 0, signatureLength / 8);
969
foreach (DataObject obj in
m_signature
.ObjectList)
990
ArrayList references =
m_signature
.SignedInfo!.References;
1004
calculatedHash = digestedReference.CalculateHashValue(_containingDocument!,
m_signature
.ReferencedItems);
1082
SignedXmlDebugLog.LogBeginCheckSignedInfo(this,
m_signature
.SignedInfo!);
1105
m_signature
.SignatureValue);
1106
return asymmetricSignatureDeformatter.VerifySignature(hashval,
m_signature
.SignatureValue!);
1113
SignedXmlDebugLog.LogBeginCheckSignedInfo(this,
m_signature
.SignedInfo!);
1116
if (
m_signature
.SignedInfo!.SignatureLength == null)
1119
signatureLength = Convert.ToInt32(
m_signature
.SignedInfo.SignatureLength, null);
1126
if (
m_signature
.SignatureValue == null)
1128
if (
m_signature
.SignatureValue.Length != signatureLength / 8)
1133
SignedXmlDebugLog.LogVerifySignedInfo(this, macAlg, hashValue,
m_signature
.SignatureValue);
1137
return
m_signature
.SignatureValue.AsSpan().SequenceEqual(hashValue.AsSpan(0,
m_signature
.SignatureValue.Length));
1140
return CryptographicEquals(
m_signature
.SignatureValue, hashValue);