Tabnine Logo
KeyAgreementSpi.engineDoPhase
Code IndexAdd Tabnine to your IDE (free)

How to use
engineDoPhase
method
in
javax.crypto.KeyAgreementSpi

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

origin: robovm/robovm

/**
 * Does the next (or the last) phase of the key agreement, using the
 * specified key.
 *
 * @param key
 *            the key received from the other party for this phase.
 * @param lastPhase
 *            set to {@code true} if this is the last phase of this key
 *            agreement.
 * @return the intermediate key from this phase or {@code null} if there is
 *         no intermediate key for this phase.
 * @throws InvalidKeyException
 *             if the specified key cannot be used in this key agreement or
 *             this phase,
 * @throws IllegalStateException
 *             if this instance has not been initialized.
 */
public final Key doPhase(Key key, boolean lastPhase)
    throws InvalidKeyException, IllegalStateException {
  return spiImpl.engineDoPhase(key, lastPhase);
}
origin: MobiVM/robovm

/**
 * Does the next (or the last) phase of the key agreement, using the
 * specified key.
 *
 * @param key
 *            the key received from the other party for this phase.
 * @param lastPhase
 *            set to {@code true} if this is the last phase of this key
 *            agreement.
 * @return the intermediate key from this phase or {@code null} if there is
 *         no intermediate key for this phase.
 * @throws InvalidKeyException
 *             if the specified key cannot be used in this key agreement or
 *             this phase,
 * @throws IllegalStateException
 *             if this instance has not been initialized.
 */
public final Key doPhase(Key key, boolean lastPhase)
    throws InvalidKeyException, IllegalStateException {
  return spiImpl.engineDoPhase(key, lastPhase);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Does the next (or the last) phase of the key agreement, using the
 * specified key.
 *
 * @param key
 *            the key received from the other party for this phase.
 * @param lastPhase
 *            set to {@code true} if this is the last phase of this key
 *            agreement.
 * @return the intermediate key from this phase or {@code null} if there is
 *         no intermediate key for this phase.
 * @throws InvalidKeyException
 *             if the specified key cannot be used in this key agreement or
 *             this phase,
 * @throws IllegalStateException
 *             if this instance has not been initialized.
 */
public final Key doPhase(Key key, boolean lastPhase)
    throws InvalidKeyException, IllegalStateException {
  return spiImpl.engineDoPhase(key, lastPhase);
}
origin: com.gluonhq/robovm-rt

/**
 * Does the next (or the last) phase of the key agreement, using the
 * specified key.
 *
 * @param key
 *            the key received from the other party for this phase.
 * @param lastPhase
 *            set to {@code true} if this is the last phase of this key
 *            agreement.
 * @return the intermediate key from this phase or {@code null} if there is
 *         no intermediate key for this phase.
 * @throws InvalidKeyException
 *             if the specified key cannot be used in this key agreement or
 *             this phase,
 * @throws IllegalStateException
 *             if this instance has not been initialized.
 */
public final Key doPhase(Key key, boolean lastPhase)
    throws InvalidKeyException, IllegalStateException {
  return spiImpl.engineDoPhase(key, lastPhase);
}
origin: ibinti/bugvm

/**
 * Does the next (or the last) phase of the key agreement, using the
 * specified key.
 *
 * @param key
 *            the key received from the other party for this phase.
 * @param lastPhase
 *            set to {@code true} if this is the last phase of this key
 *            agreement.
 * @return the intermediate key from this phase or {@code null} if there is
 *         no intermediate key for this phase.
 * @throws InvalidKeyException
 *             if the specified key cannot be used in this key agreement or
 *             this phase,
 * @throws IllegalStateException
 *             if this instance has not been initialized.
 */
public final Key doPhase(Key key, boolean lastPhase)
    throws InvalidKeyException, IllegalStateException {
  return spiImpl.engineDoPhase(key, lastPhase);
}
origin: com.bugvm/bugvm-rt

/**
 * Does the next (or the last) phase of the key agreement, using the
 * specified key.
 *
 * @param key
 *            the key received from the other party for this phase.
 * @param lastPhase
 *            set to {@code true} if this is the last phase of this key
 *            agreement.
 * @return the intermediate key from this phase or {@code null} if there is
 *         no intermediate key for this phase.
 * @throws InvalidKeyException
 *             if the specified key cannot be used in this key agreement or
 *             this phase,
 * @throws IllegalStateException
 *             if this instance has not been initialized.
 */
public final Key doPhase(Key key, boolean lastPhase)
    throws InvalidKeyException, IllegalStateException {
  return spiImpl.engineDoPhase(key, lastPhase);
}
origin: FlexoVM/flexovm

/**
 * Does the next (or the last) phase of the key agreement, using the
 * specified key.
 *
 * @param key
 *            the key received from the other party for this phase.
 * @param lastPhase
 *            set to {@code true} if this is the last phase of this key
 *            agreement.
 * @return the intermediate key from this phase or {@code null} if there is
 *         no intermediate key for this phase.
 * @throws InvalidKeyException
 *             if the specified key cannot be used in this key agreement or
 *             this phase,
 * @throws IllegalStateException
 *             if this instance has not been initialized.
 */
public final Key doPhase(Key key, boolean lastPhase)
    throws InvalidKeyException, IllegalStateException {
  return spiImpl.engineDoPhase(key, lastPhase);
}
javax.cryptoKeyAgreementSpiengineDoPhase

Javadoc

Does the next (or the last) phase of the key agreement, using the specified key.

Popular methods of KeyAgreementSpi

  • engineGenerateSecret
    Generates the shared secret and stores it into the buffer sharedSecred at offset.
  • engineInit
    Initializes this KeyAgreementSpi with the specified key, algorithm parameters and randomness source.

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Notification (javax.management)
  • Table (org.hibernate.mapping)
    A relational table
  • CodeWhisperer alternatives
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