X509_STORE_CTX_new.pod (302408) | X509_STORE_CTX_new.pod (325335) |
---|---|
1=pod 2 3=head1 NAME 4 5X509_STORE_CTX_new, X509_STORE_CTX_cleanup, X509_STORE_CTX_free, X509_STORE_CTX_init, X509_STORE_CTX_trusted_stack, X509_STORE_CTX_set_cert, X509_STORE_CTX_set_chain, X509_STORE_CTX_set0_crls, X509_STORE_CTX_get0_param, X509_STORE_CTX_set0_param, X509_STORE_CTX_set_default - X509_STORE_CTX initialisation 6 7=head1 SYNOPSIS 8 --- 27 unchanged lines hidden (view full) --- 36The context can then be reused with an new call to X509_STORE_CTX_init(). 37 38X509_STORE_CTX_free() completely frees up B<ctx>. After this call B<ctx> 39is no longer valid. 40 41X509_STORE_CTX_init() sets up B<ctx> for a subsequent verification operation. 42It must be called before each call to X509_verify_cert(), i.e. a B<ctx> is only 43good for one call to X509_verify_cert(); if you want to verify a second | 1=pod 2 3=head1 NAME 4 5X509_STORE_CTX_new, X509_STORE_CTX_cleanup, X509_STORE_CTX_free, X509_STORE_CTX_init, X509_STORE_CTX_trusted_stack, X509_STORE_CTX_set_cert, X509_STORE_CTX_set_chain, X509_STORE_CTX_set0_crls, X509_STORE_CTX_get0_param, X509_STORE_CTX_set0_param, X509_STORE_CTX_set_default - X509_STORE_CTX initialisation 6 7=head1 SYNOPSIS 8 --- 27 unchanged lines hidden (view full) --- 36The context can then be reused with an new call to X509_STORE_CTX_init(). 37 38X509_STORE_CTX_free() completely frees up B<ctx>. After this call B<ctx> 39is no longer valid. 40 41X509_STORE_CTX_init() sets up B<ctx> for a subsequent verification operation. 42It must be called before each call to X509_verify_cert(), i.e. a B<ctx> is only 43good for one call to X509_verify_cert(); if you want to verify a second |
44certificate with the same B<ctx> then you must call X509_XTORE_CTX_cleanup() | 44certificate with the same B<ctx> then you must call X509_STORE_CTX_cleanup() |
45and then X509_STORE_CTX_init() again before the second call to 46X509_verify_cert(). The trusted certificate store is set to B<store>, the end 47entity certificate to be verified is set to B<x509> and a set of additional 48certificates (which will be untrusted but may be used to build the chain) in 49B<chain>. Any or all of the B<store>, B<x509> and B<chain> parameters can be 50B<NULL>. 51 52X509_STORE_CTX_trusted_stack() sets the set of trusted certificates of B<ctx> --- 75 unchanged lines hidden --- | 45and then X509_STORE_CTX_init() again before the second call to 46X509_verify_cert(). The trusted certificate store is set to B<store>, the end 47entity certificate to be verified is set to B<x509> and a set of additional 48certificates (which will be untrusted but may be used to build the chain) in 49B<chain>. Any or all of the B<store>, B<x509> and B<chain> parameters can be 50B<NULL>. 51 52X509_STORE_CTX_trusted_stack() sets the set of trusted certificates of B<ctx> --- 75 unchanged lines hidden --- |