public final boolean isCryptoAllowed (Key key) throws ExemptionMechanismException

Returns whether the result blob has been generated successfully by this exemption mechanism.

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.

Parameters:
key    the key the crypto is going to use.

Returns:  whether the result blob of the same key has been generated successfully by this exemption mechanism; false if key is null.

Exceptions:
ExemptionMechanismException    if problem(s) encountered while determining whether the result blob has been generated successfully by this exemption mechanism object.