Pkcs8PrivateKeyInfo.Create(AsymmetricAlgorithm) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exports a specified key as a PKCS#8 PrivateKeyInfo and returns its decoded interpretation.
public:
static System::Security::Cryptography::Pkcs::Pkcs8PrivateKeyInfo ^ Create(System::Security::Cryptography::AsymmetricAlgorithm ^ privateKey);
public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Create (System.Security.Cryptography.AsymmetricAlgorithm privateKey);
static member Create : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo
Public Shared Function Create (privateKey As AsymmetricAlgorithm) As Pkcs8PrivateKeyInfo
Parameters
- privateKey
- AsymmetricAlgorithm
The private key to represent in a PKCS#8 PrivateKeyInfo.
Returns
The decoded interpretation of the exported PKCS#8 PrivateKeyInfo.
Exceptions
The privateKey
parameter is null
.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.