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