Sam Vilain
and 1 contributors


Net::SSLeay::OO::X509::Context - wrapper for X509_STORE_CTX* pointers


  # ... within callback installed by
  #     Net::SSLeay::OO::Context::set_verify ...
  my $x509_ctx = Net::SSLeay::OO::X509::Context->new(
      x509_store_ctx => $x509_store_ctx,
  my $cert = $x509_ctx->get_current_cert;


This is a class which represents the X509_STORE_CTX* pointers; it is currently poorly understood, the best reference for understanding will be relevant functions within Net::SSLeay (especially the main binding wrapper, SSLeay.xs), and the OpenSSL source code.

You should not need to use this class for regular use of the module; if you find a use for it, or would like to help complete or document it, please submit a patch or pull request.


Sam Vilain,


Copyright (C) 2009 NZ Registry Services

This program is free software: you can redistribute it and/or modify it under the terms of the Artistic License 2.0 or later. You should have received a copy of the Artistic License the file COPYING.txt. If not, see <>


Net::SSLeay::OO, "set_verify" in Net::SSLeay::OO::Context