CoseKey.FromKey Method
Definition
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.
Overloads
FromKey(MLDsa) | |
FromKey(ECDsa, HashAlgorithmName) | |
FromKey(RSA, RSASignaturePadding, HashAlgorithmName) |
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