public final boolean isCryptoAllowed(Key key) throws ExemptionMechanismException {
  boolean ret=false;
  if (done && (key != null)) {
    ret=keyStored.equals(key);
  }
  return ret;
}

public final boolean isCryptoAllowed ( Key key ) throws ExemptionMechanismException { boolean ret = false ; if ( done && ( key != null ) ) { ret = keyStored . equals ( key ) ; } return ret ; }
returns whether the result blob has been generated successfully by this exemption mechanism . < p > the method also makes sure that the key passed in is the same as the one this exemption mechanism used in initializing and generating phases .
