7 writes to Q
System.Security.Cryptography (6)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Dsa.cs (1)
128
Q
= Crypto.ExtractBignum(q_bn, qx_cb)!,
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (2)
73
Q
= parms.Q.ToByteArray(isUnsigned: true, isBigEndian: true),
136
Q
= parms.Q.ToByteArray(isUnsigned: true, isBigEndian: true),
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
193
dsaParameters.
Q
= br.ReadReversed(lenQ);
224
dsaParameters.
Q
= br.ReadReversed(DSS_Q_LEN);
System\Security\Cryptography\DSA.Xml.cs (1)
52
Q
= q,
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
201
Q
= (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)
77
ret.X = x.ExportKeyParameter(ret.
Q
.Length);
264
writer.WriteKeyParameterInteger(dsaParameters.
Q
);
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (4)
101
if (parameters.P == null || parameters.
Q
== null || parameters.G == null || parameters.Y == null)
115
if (hasPrivateKey && parameters.X!.Length != parameters.
Q
.Length)
124
parameters.
Q
, parameters.
Q
.Length,
System\Security\Cryptography\AsymmetricAlgorithmHelpers.Der.cs (1)
225
fieldSizeBits = pars.
Q
!.Length * 8;
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (5)
25
if (dsaParameters.P == null || dsaParameters.P.Length == 0 || dsaParameters.
Q
== null || dsaParameters.
Q
.Length != DSS_Q_LEN)
81
bw.Write((uint)(dsaParameters.
Q
.Length * 8));
92
bw.WriteReversed(dsaParameters.
Q
);
123
bw.WriteReversed(dsaParameters.
Q
);
System\Security\Cryptography\DSA.cs (1)
1107
int qLength = dsaParameters.
Q
!.Length;
System\Security\Cryptography\DSA.Xml.cs (3)
35
byte[] q = ReadRequiredElement(ref state, nameof(DSAParameters.
Q
));
110
XmlKeyHelper.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)
77
int bufSize = 2 * dsaParameters.
Q
!.Length;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
104
qElement.AppendChild(xmlDocument.CreateTextNode(Convert.ToBase64String(dsaParams.
Q
!)));