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