Bagikan melalui


X509Certificate2.PrivateKey Property

Gets or sets the asymmetric algorithm object that represents the private key associated with a certificate.

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System.Security (in system.security.dll)

Syntax

public AsymmetricAlgorithm PrivateKey { get; }

Property Value

An AsymmetricAlgorithm object, which is either an RSA or DSA cryptographic service provider.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

X509Certificate2 Class
X509Certificate2 Members
System.Security.Cryptography.X509Certificates Namespace