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
D2I_PKEY_USAGE_PERIOD(3) FreeBSD Library Functions Manual D2I_PKEY_USAGE_PERIOD(3)

d2i_PKEY_USAGE_PERIOD, i2d_PKEY_USAGE_PERIODdecode and encode X.509 key usage period extensions

#include <openssl/x509v3.h>

PKEY_USAGE_PERIOD *
d2i_PKEY_USAGE_PERIOD(PKEY_USAGE_PERIOD **val_out, const unsigned char **der_in, long length);

int
i2d_PKEY_USAGE_PERIOD(PKEY_USAGE_PERIOD *val_in, unsigned char **der_out);

() and () decode and encode an ASN.1 PrivateKeyUsagePeriod structure defined in RFC 3280 section 4.2.1.4. For details about the semantics, examples, caveats, and bugs, see ASN1_item_d2i(3).

d2i_PKEY_USAGE_PERIOD() returns a PKEY_USAGE_PERIOD object or NULL if an error occurs.

i2d_PKEY_USAGE_PERIOD() returns the number of bytes successfully encoded or a negative value if an error occurs.

ASN1_item_d2i(3), PKEY_USAGE_PERIOD_new(3), X509_EXTENSION_new(3)

RFC 3280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile, section 4.2.1.4: Private Key Usage Period

RFC 3280 was obsoleted by RFC 5280; see PKEY_USAGE_PERIOD_new(3) for details.

d2i_PKEY_USAGE_PERIOD() and i2d_PKEY_USAGE_PERIOD() first appeared in OpenSSL 0.9.2b and have been available since OpenBSD 2.6.

March 21, 2018 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.