7 writes to Q
System.Security.Cryptography (6)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Dsa.cs (1)
128Q = Crypto.ExtractBignum(q_bn, qx_cb)!,
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
33Q = parms.Q.ToByteArray(isUnsigned: true, isBigEndian: true), 101Q = parms.Q.ToByteArray(isUnsigned: true, isBigEndian: true),
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
193dsaParameters.Q = br.ReadReversed(lenQ); 224dsaParameters.Q = br.ReadReversed(DSS_Q_LEN);
System\Security\Cryptography\DSA.Xml.cs (1)
52Q = q,
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
201Q = (qNode != null) ? Convert.FromBase64String(qNode.InnerText) : null,
20 references to Q
System.Security.Cryptography (18)
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
60ret.X = x.ExportKeyParameter(ret.Q.Length); 210writer.WriteKeyParameterInteger(dsaParameters.Q);
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (4)
101if (parameters.P == null || parameters.Q == null || parameters.G == null || parameters.Y == null) 115if (hasPrivateKey && parameters.X!.Length != parameters.Q.Length) 124parameters.Q, parameters.Q.Length,
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
225fieldSizeBits = pars.Q!.Length * 8;
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (5)
25if (dsaParameters.P == null || dsaParameters.P.Length == 0 || dsaParameters.Q == null || dsaParameters.Q.Length != DSS_Q_LEN) 81bw.Write((uint)(dsaParameters.Q.Length * 8)); 92bw.WriteReversed(dsaParameters.Q); 123bw.WriteReversed(dsaParameters.Q);
System\Security\Cryptography\DSA.cs (1)
1107int qLength = dsaParameters.Q!.Length;
System\Security\Cryptography\DSA.Xml.cs (3)
35byte[] q = ReadRequiredElement(ref state, nameof(DSAParameters.Q)); 110XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.Q), keyParameters.Q, builder);
System\Security\Cryptography\X509Certificates\DSACertificateExtensions.cs (2)
51!currentParameters.Q.ContentsEqual(newParameters.Q) ||
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\CmsSignature.DSA.cs (1)
77int bufSize = 2 * dsaParameters.Q!.Length;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
104qElement.AppendChild(xmlDocument.CreateTextNode(Convert.ToBase64String(dsaParams.Q!)));