Package ndg :: Package saml :: Package utils :: Module m2crypto
[hide private]

Module m2crypto

source code

SAML 2.0 Utilities module for M2Crypto SSL functionality

NERC DataGrid Project


Date: 02/07/07

Author: P J Kershaw

Contact: Philip.Kershaw@stfc.ac.uk

Copyright: (C) 2009 Science and Technology Facilities Council

License: http://www.apache.org/licenses/LICENSE-2.0

Classes [hide private]
  X500DNError
Exception handling for NDG X.500 DN class.
  X500DN
NDG X500 Distinguished name
  X509CertError
Exception handling for NDG X.509 Certificate handling class.
  X509CertReadError
Error reading in certificate from file
  X509CertParseError
Error parsing a certificate
  X509CertInvalidNotBeforeTime
Call from X509Cert.isValidTime if certificates not before time is BEFORE the current system time
  X509CertExpired
Call from X509Cert.isValidTime if certificate has expired
  X509Cert
NDG X509 Certificate Handling
  X509StackError
Error from X509Stack type
  X509StackEmptyError
Expecting non-zero length X509Stack
  X509CertIssuerNotFound
Raise from verifyCertChain if no certificate can be found to verify the input
  SelfSignedCert
Raise from verifyCertChain if cert.
  X509CertInvalidSignature
X.509 Certificate has an invalid signature
  X509Stack
Wrapper for M2Crypto X509_Stack
  InvalidCertSignature
Raise if verification against CA cert public key fails
  InvalidCertDN
Raise if verification against a list acceptable DNs fails
  HostCheck
Override SSL.Checker.Checker to enable alternate Common Name setting match for peer cert
  HTTPSConnection
Modified version of M2Crypto equivalent to enable custom checks with the peer and timeout settings
  SSLContextProxy
Holder for M2Crypto.SSL.Context parameters
Variables [hide private]
  __revision__ = '$Id: m2crypto.py 8049 2012-03-28 15:57:38Z pjk...
  log = logging.getLogger(__name__)
  __package__ = 'ndg.saml.utils'
Variables Details [hide private]

__revision__

Value:
'$Id: m2crypto.py 8049 2012-03-28 15:57:38Z pjkersha $'