28 references to KeyFormatHelper
System.Security.Cryptography (28)
src\libraries\Common\src\System\Security\Cryptography\DSAKeyFormatHelper.cs (5)
167
KeyFormatHelper
.ReadSubjectPublicKeyInfo<DSAParameters>(
179
return
KeyFormatHelper
.ReadSubjectPublicKeyInfo(
190
KeyFormatHelper
.ReadPkcs8<DSAParameters>(
204
KeyFormatHelper
.ReadEncryptedPkcs8<DSAParameters>(
219
KeyFormatHelper
.ReadEncryptedPkcs8<DSAParameters>(
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (5)
30
KeyFormatHelper
.ReadSubjectPublicKeyInfo<ECParameters>(
42
return
KeyFormatHelper
.ReadSubjectPublicKeyInfo(
54
KeyFormatHelper
.ReadEncryptedPkcs8<ECParameters>(
69
KeyFormatHelper
.ReadEncryptedPkcs8<ECParameters>(
507
return
KeyFormatHelper
.WritePkcs8(algorithmIdentifier, ecPrivateKey, attributeWriter);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (4)
97
KeyFormatHelper
.ReadSubjectPublicKeyInfo<RSAParameters>(
109
return
KeyFormatHelper
.ReadSubjectPublicKeyInfo(
139
KeyFormatHelper
.ReadPkcs8<RSAParameters>(
151
return
KeyFormatHelper
.ReadPkcs8(
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Encrypted.cs (2)
14
KeyFormatHelper
.ReadEncryptedPkcs8<RSAParameters>(
29
KeyFormatHelper
.ReadEncryptedPkcs8<RSAParameters>(
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (2)
798
decrypted =
KeyFormatHelper
.DecryptPkcs8(
826
decrypted =
KeyFormatHelper
.DecryptPkcs8(
System\Security\Cryptography\DSA.cs (2)
936
AsnWriter writer =
KeyFormatHelper
.WriteEncryptedPkcs8(
958
AsnWriter writer =
KeyFormatHelper
.WriteEncryptedPkcs8(
System\Security\Cryptography\ECAlgorithm.cs (6)
149
AsnWriter writer =
KeyFormatHelper
.WriteEncryptedPkcs8(
221
AsnWriter writer =
KeyFormatHelper
.WriteEncryptedPkcs8(
365
KeyFormatHelper
.ReadEncryptedPkcs8<ECParameters>(
439
KeyFormatHelper
.ReadEncryptedPkcs8<ECParameters>(
499
KeyFormatHelper
.ReadPkcs8<ECParameters>(
558
KeyFormatHelper
.ReadSubjectPublicKeyInfo<ECParameters>(
System\Security\Cryptography\RSA.cs (2)
816
AsnWriter writer =
KeyFormatHelper
.WriteEncryptedPkcs8(
839
AsnWriter writer =
KeyFormatHelper
.WriteEncryptedPkcs8(