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
hx509_revoke(3) Heimdalx509library hx509_revoke(3)

hx509_revoke


int hx509_revoke_init (hx509_context context, hx509_revoke_ctx *ctx)
void hx509_revoke_free (hx509_revoke_ctx *ctx)
int hx509_revoke_add_ocsp (hx509_context context, hx509_revoke_ctx ctx, const char *path)
int hx509_revoke_add_crl (hx509_context context, hx509_revoke_ctx ctx, const char *path)
int hx509_revoke_verify (hx509_context context, hx509_revoke_ctx ctx, hx509_certs certs, time_t now, hx509_cert cert, hx509_cert parent_cert)
int hx509_ocsp_request (hx509_context context, hx509_certs reqcerts, hx509_certs pool, hx509_cert signer, const AlgorithmIdentifier *digest, heim_octet_string *request, heim_octet_string *nonce)
int hx509_revoke_ocsp_print (hx509_context context, const char *path, FILE *out)

See the Revocation methods for description and examples.

Create an OCSP request for a set of certificates.

Parameters:

context a hx509 context
reqcerts list of certificates to request ocsp data for
pool certificate pool to use when signing
signer certificate to use to sign the request
digest the signing algorithm in the request, if NULL use the default signature algorithm,
request the encoded request, free with free_heim_octet_string().
nonce nonce in the request, free with free_heim_octet_string().

Returns:

An hx509 error code, see hx509_get_error_string().

Add a CRL file to the revokation context.

Parameters:

context hx509 context
ctx hx509 revokation context
path path to file that is going to be added to the context.

Returns:

An hx509 error code, see hx509_get_error_string().

Add a OCSP file to the revokation context.

Parameters:

context hx509 context
ctx hx509 revokation context
path path to file that is going to be added to the context.

Returns:

An hx509 error code, see hx509_get_error_string().

Free a hx509 revokation context.

Parameters:

ctx context to be freed

Allocate a revokation context. Free with hx509_revoke_free().

Parameters:

context A hx509 context.
ctx returns a newly allocated revokation context.

Returns:

An hx509 error code, see hx509_get_error_string().

Print the OCSP reply stored in a file.

Parameters:

context a hx509 context
path path to a file with a OCSP reply
out the out FILE descriptor to print the reply on

Returns:

An hx509 error code, see hx509_get_error_string().

Check that a certificate is not expired according to a revokation context. Also need the parent certificte to the check OCSP parent identifier.

Parameters:

context hx509 context
ctx hx509 revokation context
certs
now
cert
parent_cert

Returns:

An hx509 error code, see hx509_get_error_string().

Generated automatically by Doxygen for Heimdalx509library from the source code.
Fri Jun 7 2019 Version 7.7.0

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.