code: public final int getOutputSize(int inputLen) throws IllegalStateException {
          if (!initialized) {
              throw new IllegalStateException(
                  "ExemptionMechanism not initialized");
          }
          if (inputLen < 0) {
              throw new IllegalArgumentException(
                  "Input size must be equal to " + "or greater than zero");
          }
          return exmechSpi.engineGetOutputSize(inputLen);
      }
docs: Returns the length in bytes that an output buffer would need to be in
  order to hold the result of the next
  {@link #genExemptionBlob(byte[]) genExemptionBlob}
  operation, given the input length <code>inputLen</code> (in bytes).
  
  <p>The actual output length of the next
  {@link #genExemptionBlob(byte[]) genExemptionBlob}
  call may be smaller than the length returned by this method.
  
  @param inputLen the input length (in bytes)
  
  @return the required output buffer size (in bytes)
  
  @exception IllegalStateException if this exemption mechanism is in a
  wrong state (e.g., has not yet been initialized)