Gets an RSA instance that represents the public/private key pair.
Namespace: Org.Mentalis.Security.Tools
Assembly: Org.Mentalis.Security.Tools (in Org.Mentalis.Security.Tools)
Version: 1.0.0.0
Syntax
Visual Basic (Declaration) |
---|
Public ReadOnly Property PrivateKey As RSA |
C# |
---|
public RSA PrivateKey { get; } |
Visual C++ |
---|
public: property RSA^ PrivateKey { RSA^ get (); } |
Field Value
An RSA instance.Exceptions
Exception | Condition |
---|---|
System.ObjectDisposedException | The object has been disposed. |
System.NotSupportedException | The private key is not available. |