Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

AsymmetricKeyAlgorithm.CreateFrom Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

CreateFrom(AsymmetricAlgorithm, Boolean)

Creates an instance of AsymmetricKeyAlgorithm from the specified asymmetric algorithm object.

Declaration
public static AsymmetricKeyAlgorithm CreateFrom(AsymmetricAlgorithm algorithm, bool ownsAlgorithm)
Parameters
Type Name Description
AsymmetricAlgorithm algorithm

Asymmetric algorithm object.

Boolean ownsAlgorithm

True if the created object owns the asymmetric algorithm object.

Returns
Type Description
AsymmetricKeyAlgorithm

An instance of AsymmetricKeyAlgorithm.

In This Article
  • CreateFrom(AsymmetricAlgorithm, Boolean)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies