mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
27 lines
1.5 KiB
C
27 lines
1.5 KiB
C
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_Security_Cryptography_2_H
|
|
#define WINRT_Windows_Security_Cryptography_2_H
|
|
#include "winrt/impl/Windows.Storage.Streams.1.h"
|
|
#include "winrt/impl/Windows.Security.Cryptography.1.h"
|
|
WINRT_EXPORT namespace winrt::Windows::Security::Cryptography
|
|
{
|
|
struct CryptographicBuffer
|
|
{
|
|
CryptographicBuffer() = delete;
|
|
static auto Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2);
|
|
static auto GenerateRandom(uint32_t length);
|
|
static auto GenerateRandomNumber();
|
|
static auto CreateFromByteArray(array_view<uint8_t const> value);
|
|
static auto CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array<uint8_t>& value);
|
|
static auto DecodeFromHexString(param::hstring const& value);
|
|
static auto EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer);
|
|
static auto DecodeFromBase64String(param::hstring const& value);
|
|
static auto EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer);
|
|
static auto ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding);
|
|
static auto ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer);
|
|
};
|
|
}
|
|
#endif
|