congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ExemptionMechanismSpi.engineGenExemptionBlob
Code IndexAdd Tabnine to your IDE (free)

How to use
engineGenExemptionBlob
method
in
javax.crypto.ExemptionMechanismSpi

Best Java code snippets using javax.crypto.ExemptionMechanismSpi.engineGenExemptionBlob (Showing top 14 results out of 315)

origin: robovm/robovm

/**
 * Generates the result key blob for this exemption mechanism.
 *
 * @return the result key blob for this exemption mechanism.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final byte[] genExemptionBlob() throws IllegalStateException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  byte[] result = spiImpl.engineGenExemptionBlob();
  generated = true;
  return result;
}
origin: robovm/robovm

/**
 * Generates the result key blob for this exemption mechanism and stores it
 * into the {@code output} buffer at offset {@code outputOffset}.
 *
 * @param output
 *            the output buffer for the result key blob.
 * @param outputOffset
 *            the offset in the output buffer to start.
 * @return the number of bytes written to the {@code output} buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ShortBufferException
 *             if the provided buffer is too small for the result key blob.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final int genExemptionBlob(byte[] output, int outputOffset)
    throws IllegalStateException, ShortBufferException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  int len = spiImpl.engineGenExemptionBlob(output, outputOffset);
  generated = true;
  return len;
}
origin: ibinti/bugvm

/**
 * Generates the result key blob for this exemption mechanism.
 *
 * @return the result key blob for this exemption mechanism.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final byte[] genExemptionBlob() throws IllegalStateException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  byte[] result = spiImpl.engineGenExemptionBlob();
  generated = true;
  return result;
}
origin: com.gluonhq/robovm-rt

/**
 * Generates the result key blob for this exemption mechanism.
 *
 * @return the result key blob for this exemption mechanism.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final byte[] genExemptionBlob() throws IllegalStateException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  byte[] result = spiImpl.engineGenExemptionBlob();
  generated = true;
  return result;
}
origin: MobiVM/robovm

/**
 * Generates the result key blob for this exemption mechanism.
 *
 * @return the result key blob for this exemption mechanism.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final byte[] genExemptionBlob() throws IllegalStateException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  byte[] result = spiImpl.engineGenExemptionBlob();
  generated = true;
  return result;
}
origin: com.bugvm/bugvm-rt

/**
 * Generates the result key blob for this exemption mechanism.
 *
 * @return the result key blob for this exemption mechanism.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final byte[] genExemptionBlob() throws IllegalStateException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  byte[] result = spiImpl.engineGenExemptionBlob();
  generated = true;
  return result;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Generates the result key blob for this exemption mechanism.
 *
 * @return the result key blob for this exemption mechanism.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final byte[] genExemptionBlob() throws IllegalStateException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  byte[] result = spiImpl.engineGenExemptionBlob();
  generated = true;
  return result;
}
origin: FlexoVM/flexovm

/**
 * Generates the result key blob for this exemption mechanism.
 *
 * @return the result key blob for this exemption mechanism.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final byte[] genExemptionBlob() throws IllegalStateException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  byte[] result = spiImpl.engineGenExemptionBlob();
  generated = true;
  return result;
}
origin: ibinti/bugvm

/**
 * Generates the result key blob for this exemption mechanism and stores it
 * into the {@code output} buffer at offset {@code outputOffset}.
 *
 * @param output
 *            the output buffer for the result key blob.
 * @param outputOffset
 *            the offset in the output buffer to start.
 * @return the number of bytes written to the {@code output} buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ShortBufferException
 *             if the provided buffer is too small for the result key blob.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final int genExemptionBlob(byte[] output, int outputOffset)
    throws IllegalStateException, ShortBufferException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  int len = spiImpl.engineGenExemptionBlob(output, outputOffset);
  generated = true;
  return len;
}
origin: MobiVM/robovm

/**
 * Generates the result key blob for this exemption mechanism and stores it
 * into the {@code output} buffer at offset {@code outputOffset}.
 *
 * @param output
 *            the output buffer for the result key blob.
 * @param outputOffset
 *            the offset in the output buffer to start.
 * @return the number of bytes written to the {@code output} buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ShortBufferException
 *             if the provided buffer is too small for the result key blob.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final int genExemptionBlob(byte[] output, int outputOffset)
    throws IllegalStateException, ShortBufferException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  int len = spiImpl.engineGenExemptionBlob(output, outputOffset);
  generated = true;
  return len;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Generates the result key blob for this exemption mechanism and stores it
 * into the {@code output} buffer at offset {@code outputOffset}.
 *
 * @param output
 *            the output buffer for the result key blob.
 * @param outputOffset
 *            the offset in the output buffer to start.
 * @return the number of bytes written to the {@code output} buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ShortBufferException
 *             if the provided buffer is too small for the result key blob.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final int genExemptionBlob(byte[] output, int outputOffset)
    throws IllegalStateException, ShortBufferException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  int len = spiImpl.engineGenExemptionBlob(output, outputOffset);
  generated = true;
  return len;
}
origin: com.gluonhq/robovm-rt

/**
 * Generates the result key blob for this exemption mechanism and stores it
 * into the {@code output} buffer at offset {@code outputOffset}.
 *
 * @param output
 *            the output buffer for the result key blob.
 * @param outputOffset
 *            the offset in the output buffer to start.
 * @return the number of bytes written to the {@code output} buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ShortBufferException
 *             if the provided buffer is too small for the result key blob.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final int genExemptionBlob(byte[] output, int outputOffset)
    throws IllegalStateException, ShortBufferException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  int len = spiImpl.engineGenExemptionBlob(output, outputOffset);
  generated = true;
  return len;
}
origin: com.bugvm/bugvm-rt

/**
 * Generates the result key blob for this exemption mechanism and stores it
 * into the {@code output} buffer at offset {@code outputOffset}.
 *
 * @param output
 *            the output buffer for the result key blob.
 * @param outputOffset
 *            the offset in the output buffer to start.
 * @return the number of bytes written to the {@code output} buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ShortBufferException
 *             if the provided buffer is too small for the result key blob.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final int genExemptionBlob(byte[] output, int outputOffset)
    throws IllegalStateException, ShortBufferException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  int len = spiImpl.engineGenExemptionBlob(output, outputOffset);
  generated = true;
  return len;
}
origin: FlexoVM/flexovm

/**
 * Generates the result key blob for this exemption mechanism and stores it
 * into the {@code output} buffer at offset {@code outputOffset}.
 *
 * @param output
 *            the output buffer for the result key blob.
 * @param outputOffset
 *            the offset in the output buffer to start.
 * @return the number of bytes written to the {@code output} buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 * @throws ShortBufferException
 *             if the provided buffer is too small for the result key blob.
 * @throws ExemptionMechanismException
 *             if error(s) occur during generation.
 */
public final int genExemptionBlob(byte[] output, int outputOffset)
    throws IllegalStateException, ShortBufferException,
    ExemptionMechanismException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  generated = false;
  int len = spiImpl.engineGenExemptionBlob(output, outputOffset);
  generated = true;
  return len;
}
javax.cryptoExemptionMechanismSpiengineGenExemptionBlob

Javadoc

Generates the result key blob for this exemption mechanism.

Popular methods of ExemptionMechanismSpi

  • engineGetOutputSize
    Returns the size in bytes for the output buffer needed to hold the output of the next #engineGenExem
  • engineInit
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now