Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /refs/heads/main /. /crypto /unexportable_key_win.h
blob: eb9c3e61793f3542271f6dd1c87667cf3dbcc241 [file] [log] [blame] [edit]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CRYPTO_UNEXPORTABLE_KEY_WIN_H_
#define CRYPTO_UNEXPORTABLE_KEY_WIN_H_
#include"base/containers/span.h"
#include"base/win/wincrypt_shim.h"
#include"crypto/crypto_export.h"
#include"crypto/scoped_cng_types.h"
#include"crypto/unexportable_key.h"
namespace crypto{
// Attempts to reload a CNG key's handle from the given `key`. Returns the key
// on success or an invalid handle on error.
CRYPTO_EXPORTScopedNCryptKey
DuplicatePlatformKeyHandle(constUnexportableSigningKey& key);
}// namespace crypto
#endif// CRYPTO_UNEXPORTABLE_KEY_WIN_H_

[8]ページ先頭

©2009-2025 Movatter.jp