GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PKCS8_PRIV_KEY_INFO_NEW(3) FreeBSD Library Functions Manual PKCS8_PRIV_KEY_INFO_NEW(3)

PKCS8_PRIV_KEY_INFO_new, PKCS8_PRIV_KEY_INFO_freePKCS#8 private key information

#include <openssl/x509.h>

PKCS8_PRIV_KEY_INFO *
PKCS8_PRIV_KEY_INFO_new(void);

void
PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *key);

() allocates and initializes an empty PKCS8_PRIV_KEY_INFO object, representing an ASN.1 PrivateKeyInfo structure defined in RFC 5208 section 5. It can hold a private key together with information about the algorithm to be used with it and optional attributes.

() frees key.

PKCS8_PRIV_KEY_INFO_new() returns the new PKCS8_PRIV_KEY_INFO object or NULL if an error occurs.

d2i_PKCS8_PRIV_KEY_INFO(3), d2i_PKCS8PrivateKey_bio(3), EVP_PKCS82PKEY(3), PEM_read_PKCS8_PRIV_KEY_INFO(3), PKCS12_parse(3), PKCS8_pkey_set0(3), X509_ATTRIBUTE_new(3)

RFC 5208: PKCS#8: Private-Key Information Syntax Specification

PKCS8_PRIV_KEY_INFO_new() and PKCS8_PRIV_KEY_INFO_free() first appeared in OpenSSL 0.9.3 and have been available since OpenBSD 2.6.

December 6, 2024 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.