5 writes to X
System.Security.Cryptography (5)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Dsa.cs (1)
135
dsaParameters.
X
= Crypto.ExtractBignum(x_bn, qx_cb);
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (1)
77
ret.
X
= x.ExportKeyParameter(ret.Q.Length);
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (2)
205
dsaParameters.
X
= br.ReadReversed(lenX);
232
dsaParameters.
X
= br.ReadReversed(20);
System\Security\Cryptography\DSA.Xml.cs (1)
58
X
= x,
27 references to X
System.Security.Cryptography (27)
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (1)
247
WriteKeyComponent(writer, dsaParameters.
X
, bitString: false);
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (6)
91
bool hasPrivateKey = dsaParameters.
X
!= null;
109
bool hasPrivateKey = parameters.
X
!= null;
115
if (hasPrivateKey && parameters.
X
!.Length != parameters.Q.Length)
127
parameters.
X
, parameters.
X
!= null ? parameters.
X
.Length : 0))
System\Security\Cryptography\CapiHelper.DSA.Shared.cs (6)
45
bool isPrivate = (dsaParameters.
X
!= null && dsaParameters.
X
.Length > 0);
48
if (isPrivate && dsaParameters.
X
!.Length != DSS_Q_LEN)
86
bw.Write((uint)dsaParameters.
X
!.Length * 8);
104
bw.WriteReversed(dsaParameters.
X
!);
128
bw.WriteReversed(dsaParameters.
X
!);
System\Security\Cryptography\DSA.cs (8)
986
fixed (byte* privPin = dsaParameters.
X
)
994
CryptographicOperations.ZeroMemory(dsaParameters.
X
);
1016
fixed (byte* privPin = ret.
X
)
1024
CryptographicOperations.ZeroMemory(ret.
X
);
1042
fixed (byte* privPin = ret.
X
)
1050
CryptographicOperations.ZeroMemory(ret.
X
);
1066
fixed (byte* privPin = key.
X
)
1074
CryptographicOperations.ZeroMemory(key.
X
);
System\Security\Cryptography\DSA.Xml.cs (4)
41
byte[]? x = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(DSAParameters.
X
), q.Length);
130
ArgumentNullException.ThrowIfNull(keyParameters.
X
, "inArray");
132
XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.
X
), keyParameters.
X
, builder);
System\Security\Cryptography\DSACryptoServiceProvider.Unix.cs (1)
139
_publicOnly = (parameters.
X
== null);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
633
using (PinAndClear.Track(dsaParameters.
X
!))