7 writes to G
System.Security.Cryptography (6)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Dsa.cs (1)
129
G
= Crypto.ExtractBignum(g_bn, pgy_cb)!,
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
76
ret.
G
= parms.G.ExportKeyParameter(ret.P.Length);
139
ret.
G
= parms.G.ExportKeyParameter(ret.P.Length);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
194
dsaParameters.
G
= br.ReadReversed(lenP);
225
dsaParameters.
G
= br.ReadReversed(len);
System\Security\Cryptography\DSA.Xml.cs (1)
53
G
= g,
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
202
G
= (gNode != null) ? Convert.FromBase64String(gNode.InnerText) : null,
15 references to G
System.Security.Cryptography (14)
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (1)
265
writer.WriteKeyParameterInteger(dsaParameters.
G
);
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (4)
101
if (parameters.P == null || parameters.Q == null || parameters.
G
== null || parameters.Y == null)
112
if (parameters.
G
.Length != keySize || parameters.Y.Length != keySize)
125
parameters.
G
, parameters.
G
.Length,
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (4)
29
if (dsaParameters.
G
== null || dsaParameters.
G
.Length != dsaParameters.P.Length)
93
bw.WriteReversed(dsaParameters.
G
);
124
bw.WriteReversed(dsaParameters.
G
);
System\Security\Cryptography\DSA.Xml.cs (3)
36
byte[] g = ReadRequiredElement(ref state, nameof(DSAParameters.
G
), p.Length);
111
XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.
G
), keyParameters.
G
, builder);
System\Security\Cryptography\X509Certificates\DSACertificateExtensions.cs (2)
49
if (!currentParameters.
G
.ContentsEqual(newParameters.
G
) ||
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
108
gElement.AppendChild(xmlDocument.CreateTextNode(Convert.ToBase64String(dsaParams.
G
!)));