issrg.pba.rbac.x509
Class SignatureVerificationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by issrg.utils.EmbeddedException
              extended by issrg.pba.PbaException
                  extended by issrg.pba.rbac.x509.SignatureVerificationFailedException
All Implemented Interfaces:
java.io.Serializable

public class SignatureVerificationFailedException
extends PbaException

This class extends PbaException and is thrown when signature verification on a X.509 AC fails. The exception can be queried to extract the contents of the decoded AC.

See Also:
Serialized Form

Constructor Summary
SignatureVerificationFailedException(java.lang.Exception e, ParsedToken p, java.lang.Object t)
          This method constructs the exception given the cause of signature verification failure, the ParsedToken and the Authorisation Token before it had been parsed.
 
Method Summary
 ParsedToken getParsedToken()
          This method returns the ParsedToken
 java.lang.Object getToken()
          This method returns the Authorisation Token before parsing
 
Methods inherited from class issrg.utils.EmbeddedException
getEmbedded, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignatureVerificationFailedException

public SignatureVerificationFailedException(java.lang.Exception e,
                                            ParsedToken p,
                                            java.lang.Object t)
This method constructs the exception given the cause of signature verification failure, the ParsedToken and the Authorisation Token before it had been parsed.

Parameters:
e - - the Exception thrown that caused signature verification failure
p - - the ParsedToken
t - - the Authorisation Token that p represents
Method Detail

getParsedToken

public ParsedToken getParsedToken()
This method returns the ParsedToken


getToken

public java.lang.Object getToken()
This method returns the Authorisation Token before parsing