Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DSAOpenSsl.DuplicateKeyHandle Method

Definition

Namespace:
System.Security.Cryptography
Assembly:
System.Security.Cryptography.dll
Assembly:
System.Security.Cryptography.OpenSsl.dll
Assemblies:
System.Security.Cryptography.dll, System.Security.Cryptography.OpenSsl.dll
Package:
System.Security.Cryptography.OpenSsl v5.0.0
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs
Source:
DSAOpenSsl.cs

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.

Gets a SafeEvpPKeyHandle representation of the cryptographic key.

public:
 System::Security::Cryptography::SafeEvpPKeyHandle ^ DuplicateKeyHandle();
public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateKeyHandle();
member this.DuplicateKeyHandle : unit -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Function DuplicateKeyHandle () As SafeEvpPKeyHandle

Returns

A SafeEvpPKeyHandle representation of the cryptographic key.

Remarks

Each call to this method produces a new SafeEvpPKeyHandle object with its own lifetime. The objects returned by this method can safely be used even after this DSAOpenSsl instance has been disposed.

Applies to


Feedback

Was this page helpful?