Ignore:
Timestamp:
25/01/10 10:21:19 (10 years ago)
Author:
pjkersha
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/WSSecurity/ndg/wssecurity/common/__init__.py

    r6387 r6392  
    3030        super(WSSecurityError, self).__init__(errorMessage) 
    3131         
     32         
    3233class WSSecurityConfigError(WSSecurityError): 
    3334    """Configuration error with WS-Security setting or settings""" 
    3435     
     36     
    3537class WSSecurityConfigOpNotPermitted(WSSecurityConfigError): 
    3638    "Raise for dict methods not allowed in WSSecurityConfig" 
    37      
     39 
     40 
     41class InvalidCertChain(WSSecurityError):     
     42    """Raised from SignatureHandler.verify if the certificate submitted to 
     43    verify a signature is not from a known CA""" 
     44 
     45  
     46class TimestampError(WSSecurityError): 
     47    """Raised from SignatureHandler._verifyTimestamp if there is a problem with 
     48    the created or expiry times in an input message Timestamp""" 
     49 
     50 
     51class MessageExpired(TimestampError): 
     52    """Raised from SignatureHandler._verifyTimestamp if the timestamp of 
     53    the message being processed is before the current time.  Can be caught in 
     54    order to set a wsu:MessageExpired fault code"""     
    3855class WSSecurityConfig(dict): 
    3956    """Parser for WS-Security configuration.  Extends dict to enable 
Note: See TracChangeset for help on using the changeset viewer.