Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
A SafeEvpPKeyHandle representation of the cryptographic key.
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 RSAOpenSsl instance has been disposed. However, modifying operations (that is, direct calls to modifying OpenSSL APIs) on the new handle operate on the same underlying object. The new instance this method returns is simply an additional reference.
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, 6, 7, 8, 9, 10 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in