3 writes to PrivateKey
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (2)
105decoded.PrivateKey = rebindSpan.Overlaps(tmpSpan, out offset) ? rebind.Slice(offset, tmpSpan.Length) : tmpSpan.ToArray(); 109decoded.PrivateKey = sequenceReader.ReadOctetString();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
261PrivateKey = PrivateKeyBytes,
5 references to PrivateKey
System.Security.Cryptography (5)
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
31writer.WriteOctetString(PrivateKey.Span);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.cs (2)
125return privateKeyInfo.PrivateKey; 152keyReader(privateKeyInfo.PrivateKey, privateKeyInfo.PrivateKeyAlgorithm, out ret);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (1)
890return MLDsaImplementation.ImportPkcs8PrivateKeyValue(info, pki.PrivateKey.Span);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
92privateKeyInfo.PrivateKey,