Edit

Share via


CoseKey.FromKey Method

Definition

Overloads

FromKey(MLDsa)

Source:
CoseKey.cs
public:
 static System::Security::Cryptography::Cose::CoseKey ^ FromKey(System::Security::Cryptography::MLDsa ^ key);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006")]
public static System.Security.Cryptography.Cose.CoseKey FromKey(System.Security.Cryptography.MLDsa key);
public static System.Security.Cryptography.Cose.CoseKey FromKey(System.Security.Cryptography.MLDsa key);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006")>]
static member FromKey : System.Security.Cryptography.MLDsa -> System.Security.Cryptography.Cose.CoseKey
static member FromKey : System.Security.Cryptography.MLDsa -> System.Security.Cryptography.Cose.CoseKey
Public Shared Function FromKey (key As MLDsa) As CoseKey

Parameters

key
MLDsa

Returns

Attributes

Applies to

FromKey(ECDsa, HashAlgorithmName)

Source:
CoseKey.cs
public:
 static System::Security::Cryptography::Cose::CoseKey ^ FromKey(System::Security::Cryptography::ECDsa ^ key, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public static System.Security.Cryptography.Cose.CoseKey FromKey(System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
static member FromKey : System.Security.Cryptography.ECDsa * System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.Cose.CoseKey
Public Shared Function FromKey (key As ECDsa, hashAlgorithm As HashAlgorithmName) As CoseKey

Parameters

key
ECDsa
hashAlgorithm
HashAlgorithmName

Returns

Applies to

FromKey(RSA, RSASignaturePadding, HashAlgorithmName)

Source:
CoseKey.cs
public:
 static System::Security::Cryptography::Cose::CoseKey ^ FromKey(System::Security::Cryptography::RSA ^ key, System::Security::Cryptography::RSASignaturePadding ^ signaturePadding, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public static System.Security.Cryptography.Cose.CoseKey FromKey(System.Security.Cryptography.RSA key, System.Security.Cryptography.RSASignaturePadding signaturePadding, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
static member FromKey : System.Security.Cryptography.RSA * System.Security.Cryptography.RSASignaturePadding * System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.Cose.CoseKey
Public Shared Function FromKey (key As RSA, signaturePadding As RSASignaturePadding, hashAlgorithm As HashAlgorithmName) As CoseKey

Parameters

key
RSA
signaturePadding
RSASignaturePadding
hashAlgorithm
HashAlgorithmName

Returns

Applies to