]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pem/CryptPemNull.c
2 PEM (Privacy Enhanced Mail) Format Handler Wrapper Implementation which does
3 not provide real capabilities.
5 Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include "InternalCryptLib.h"
19 Retrieve the RSA Private Key from the password-protected PEM key data.
21 Return FALSE to indicate this interface is not supported.
23 @param[in] PemData Pointer to the PEM-encoded key data to be retrieved.
24 @param[in] PemSize Size of the PEM key data in bytes.
25 @param[in] Password NULL-terminated passphrase used for encrypted PEM key data.
26 @param[out] RsaContext Pointer to new-generated RSA context which contain the retrieved
27 RSA private key component. Use RsaFree() function to free the
30 @retval FALSE This interface is not supported.
35 RsaGetPrivateKeyFromPem (
36 IN CONST UINT8
*PemData
,
38 IN CONST CHAR8
*Password
,