CryptographicOperations.HmacData 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
HmacData(HashAlgorithmName, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>)
- Source:
- CryptographicOperations.cs
public:
static int HmacData(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, ReadOnlySpan<System::Byte> key, ReadOnlySpan<System::Byte> source, Span<System::Byte> destination);
public static int HmacData (System.Security.Cryptography.HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key, ReadOnlySpan<byte> source, Span<byte> destination);
static member HmacData : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> -> int
Public Shared Function HmacData (hashAlgorithm As HashAlgorithmName, key As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte), destination As Span(Of Byte)) As Integer
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- ReadOnlySpan<Byte>
- source
- ReadOnlySpan<Byte>
Returns
Applies to
HmacData(HashAlgorithmName, ReadOnlySpan<Byte>, Stream, Span<Byte>)
- Source:
- CryptographicOperations.cs
public:
static int HmacData(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, ReadOnlySpan<System::Byte> key, System::IO::Stream ^ source, Span<System::Byte> destination);
public static int HmacData (System.Security.Cryptography.HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key, System.IO.Stream source, Span<byte> destination);
static member HmacData : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * System.IO.Stream * Span<byte> -> int
Public Shared Function HmacData (hashAlgorithm As HashAlgorithmName, key As ReadOnlySpan(Of Byte), source As Stream, destination As Span(Of Byte)) As Integer
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- ReadOnlySpan<Byte>
- source
- Stream
Returns
Applies to
HmacData(HashAlgorithmName, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
- Source:
- CryptographicOperations.cs
public:
static cli::array <System::Byte> ^ HmacData(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, ReadOnlySpan<System::Byte> key, ReadOnlySpan<System::Byte> source);
public static byte[] HmacData (System.Security.Cryptography.HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key, ReadOnlySpan<byte> source);
static member HmacData : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> byte[]
Public Shared Function HmacData (hashAlgorithm As HashAlgorithmName, key As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte)) As Byte()
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- ReadOnlySpan<Byte>
- source
- ReadOnlySpan<Byte>
Returns
Byte[]
Applies to
HmacData(HashAlgorithmName, Byte[], Stream)
- Source:
- CryptographicOperations.cs
public:
static cli::array <System::Byte> ^ HmacData(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, cli::array <System::Byte> ^ key, System::IO::Stream ^ source);
public static byte[] HmacData (System.Security.Cryptography.HashAlgorithmName hashAlgorithm, byte[] key, System.IO.Stream source);
static member HmacData : System.Security.Cryptography.HashAlgorithmName * byte[] * System.IO.Stream -> byte[]
Public Shared Function HmacData (hashAlgorithm As HashAlgorithmName, key As Byte(), source As Stream) As Byte()
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- Byte[]
- source
- Stream
Returns
Byte[]
Applies to
HmacData(HashAlgorithmName, Byte[], Byte[])
- Source:
- CryptographicOperations.cs
public:
static cli::array <System::Byte> ^ HmacData(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, cli::array <System::Byte> ^ key, cli::array <System::Byte> ^ source);
public static byte[] HmacData (System.Security.Cryptography.HashAlgorithmName hashAlgorithm, byte[] key, byte[] source);
static member HmacData : System.Security.Cryptography.HashAlgorithmName * byte[] * byte[] -> byte[]
Public Shared Function HmacData (hashAlgorithm As HashAlgorithmName, key As Byte(), source As Byte()) As Byte()
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- Byte[]
- source
- Byte[]
Returns
Byte[]
Applies to
HmacData(HashAlgorithmName, ReadOnlySpan<Byte>, Stream)
- Source:
- CryptographicOperations.cs
public:
static cli::array <System::Byte> ^ HmacData(System::Security::Cryptography::HashAlgorithmName hashAlgorithm, ReadOnlySpan<System::Byte> key, System::IO::Stream ^ source);
public static byte[] HmacData (System.Security.Cryptography.HashAlgorithmName hashAlgorithm, ReadOnlySpan<byte> key, System.IO.Stream source);
static member HmacData : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * System.IO.Stream -> byte[]
Public Shared Function HmacData (hashAlgorithm As HashAlgorithmName, key As ReadOnlySpan(Of Byte), source As Stream) As Byte()
Parameters
- hashAlgorithm
- HashAlgorithmName
- key
- ReadOnlySpan<Byte>
- source
- Stream
Returns
Byte[]
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για