Tabnine Logo
ExemptionMechanismSpi.engineGetOutputSize
Code IndexAdd Tabnine to your IDE (free)

How to use
engineGetOutputSize
method
in
javax.crypto.ExemptionMechanismSpi

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

origin: robovm/robovm

/**
 * Returns the size in bytes for the output buffer needed to hold the output
 * of the next {@link #genExemptionBlob} call, given the specified {@code
 * inputLen} (in bytes).
 *
 * @param inputLen
 *            the specified input length (in bytes).
 * @return the size in bytes for the output buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 */
public final int getOutputSize(int inputLen) throws IllegalStateException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  return spiImpl.engineGetOutputSize(inputLen);
}
origin: MobiVM/robovm

/**
 * Returns the size in bytes for the output buffer needed to hold the output
 * of the next {@link #genExemptionBlob} call, given the specified {@code
 * inputLen} (in bytes).
 *
 * @param inputLen
 *            the specified input length (in bytes).
 * @return the size in bytes for the output buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 */
public final int getOutputSize(int inputLen) throws IllegalStateException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  return spiImpl.engineGetOutputSize(inputLen);
}
origin: com.bugvm/bugvm-rt

/**
 * Returns the size in bytes for the output buffer needed to hold the output
 * of the next {@link #genExemptionBlob} call, given the specified {@code
 * inputLen} (in bytes).
 *
 * @param inputLen
 *            the specified input length (in bytes).
 * @return the size in bytes for the output buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 */
public final int getOutputSize(int inputLen) throws IllegalStateException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  return spiImpl.engineGetOutputSize(inputLen);
}
origin: ibinti/bugvm

/**
 * Returns the size in bytes for the output buffer needed to hold the output
 * of the next {@link #genExemptionBlob} call, given the specified {@code
 * inputLen} (in bytes).
 *
 * @param inputLen
 *            the specified input length (in bytes).
 * @return the size in bytes for the output buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 */
public final int getOutputSize(int inputLen) throws IllegalStateException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  return spiImpl.engineGetOutputSize(inputLen);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns the size in bytes for the output buffer needed to hold the output
 * of the next {@link #genExemptionBlob} call, given the specified {@code
 * inputLen} (in bytes).
 *
 * @param inputLen
 *            the specified input length (in bytes).
 * @return the size in bytes for the output buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 */
public final int getOutputSize(int inputLen) throws IllegalStateException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  return spiImpl.engineGetOutputSize(inputLen);
}
origin: com.gluonhq/robovm-rt

/**
 * Returns the size in bytes for the output buffer needed to hold the output
 * of the next {@link #genExemptionBlob} call, given the specified {@code
 * inputLen} (in bytes).
 *
 * @param inputLen
 *            the specified input length (in bytes).
 * @return the size in bytes for the output buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 */
public final int getOutputSize(int inputLen) throws IllegalStateException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  return spiImpl.engineGetOutputSize(inputLen);
}
origin: FlexoVM/flexovm

/**
 * Returns the size in bytes for the output buffer needed to hold the output
 * of the next {@link #genExemptionBlob} call, given the specified {@code
 * inputLen} (in bytes).
 *
 * @param inputLen
 *            the specified input length (in bytes).
 * @return the size in bytes for the output buffer.
 * @throws IllegalStateException
 *             if this {@code ExemptionMechanism} instance is not
 *             initialized.
 */
public final int getOutputSize(int inputLen) throws IllegalStateException {
  if (!isInit) {
    throw new IllegalStateException("ExemptionMechanism is not initialized");
  }
  return spiImpl.engineGetOutputSize(inputLen);
}
javax.cryptoExemptionMechanismSpiengineGetOutputSize

Javadoc

Returns the size in bytes for the output buffer needed to hold the output of the next #engineGenExemptionBlob call, given the specified inputLen (in bytes).

Popular methods of ExemptionMechanismSpi

  • engineGenExemptionBlob
    Generates the result key blob for this exemption mechanism and stores it into the output buffer at o
  • engineInit
    Initializes this ExemptionMechanism instance with the specified key and algorithm parameters.

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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